cpu.h 387 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * arch/arm/include/asm/cpu.h
  4. *
  5. * Copyright (C) 2004-2005 ARM Ltd.
  6. */
  7. #ifndef __ASM_ARM_CPU_H
  8. #define __ASM_ARM_CPU_H
  9. #include <linux/percpu.h>
  10. #include <linux/cpu.h>
  11. struct cpuinfo_arm {
  12. struct cpu cpu;
  13. u32 cpuid;
  14. #ifdef CONFIG_SMP
  15. unsigned int loops_per_jiffy;
  16. #endif
  17. };
  18. DECLARE_PER_CPU(struct cpuinfo_arm, cpu_data);
  19. #endif