Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  *  arch/arm/include/asm/cpu.h
0004  *
0005  *  Copyright (C) 2004-2005 ARM Ltd.
0006  */
0007 #ifndef __ASM_ARM_CPU_H
0008 #define __ASM_ARM_CPU_H
0009 
0010 #include <linux/percpu.h>
0011 #include <linux/cpu.h>
0012 
0013 struct cpuinfo_arm {
0014     struct cpu  cpu;
0015     u32     cpuid;
0016 #ifdef CONFIG_SMP
0017     unsigned int    loops_per_jiffy;
0018 #endif
0019 };
0020 
0021 DECLARE_PER_CPU(struct cpuinfo_arm, cpu_data);
0022 
0023 #endif