Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
Russell King | 4baa992 | 2008-08-02 10:55:55 +0100 | [diff] [blame] | 2 | * arch/arm/include/asm/cpu.h |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | * |
| 4 | * Copyright (C) 2004-2005 ARM Ltd. |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License version 2 as |
| 8 | * published by the Free Software Foundation. |
| 9 | */ |
| 10 | #ifndef __ASM_ARM_CPU_H |
| 11 | #define __ASM_ARM_CPU_H |
| 12 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | #include <linux/percpu.h> |
Santosh Shilimkar | 62a8c5b | 2010-01-10 09:21:53 +0100 | [diff] [blame] | 14 | #include <linux/cpu.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | |
| 16 | struct cpuinfo_arm { |
| 17 | struct cpu cpu; |
Lorenzo Pieralisi | e8d432c | 2012-11-06 11:57:43 +0000 | [diff] [blame] | 18 | u32 cpuid; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | #ifdef CONFIG_SMP |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | unsigned int loops_per_jiffy; |
| 21 | #endif |
| 22 | }; |
| 23 | |
| 24 | DECLARE_PER_CPU(struct cpuinfo_arm, cpu_data); |
| 25 | |
| 26 | #endif |