cpu.h 533 B

123456789101112131415161718192021222324252627
  1. /*
  2. * arch/arm/include/asm/cpu.h
  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. #include <linux/percpu.h>
  13. #include <linux/cpu.h>
  14. struct cpuinfo_arm {
  15. struct cpu cpu;
  16. u32 cpuid;
  17. #ifdef CONFIG_SMP
  18. unsigned int loops_per_jiffy;
  19. #endif
  20. };
  21. DECLARE_PER_CPU(struct cpuinfo_arm, cpu_data);
  22. #endif