David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 2 | /* |
| 3 | * arch/arm/include/asm/cpu.h |
| 4 | * |
| 5 | * Copyright (C) 2004-2005 ARM Ltd. |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 6 | */ |
| 7 | #ifndef __ASM_ARM_CPU_H |
| 8 | #define __ASM_ARM_CPU_H |
| 9 | |
| 10 | #include <linux/percpu.h> |
| 11 | #include <linux/cpu.h> |
| 12 | |
| 13 | struct cpuinfo_arm { |
| 14 | struct cpu cpu; |
| 15 | u32 cpuid; |
| 16 | #ifdef CONFIG_SMP |
| 17 | unsigned int loops_per_jiffy; |
| 18 | #endif |
| 19 | }; |
| 20 | |
| 21 | DECLARE_PER_CPU(struct cpuinfo_arm, cpu_data); |
| 22 | |
| 23 | #endif |