|
@@ -2,9 +2,6 @@
|
|
|
#ifndef __ASM_ARM_CPUTYPE_H
|
|
|
#define __ASM_ARM_CPUTYPE_H
|
|
|
|
|
|
-#include <linux/stringify.h>
|
|
|
-#include <linux/kernel.h>
|
|
|
-
|
|
|
#define CPUID_ID 0
|
|
|
#define CPUID_CACHETYPE 1
|
|
|
#define CPUID_TCM 2
|
|
@@ -98,6 +95,11 @@
|
|
|
/* Qualcomm implemented cores */
|
|
|
#define ARM_CPU_PART_SCORPION 0x510002d0
|
|
|
|
|
|
+#ifndef __ASSEMBLY__
|
|
|
+
|
|
|
+#include <linux/stringify.h>
|
|
|
+#include <linux/kernel.h>
|
|
|
+
|
|
|
extern unsigned int processor_id;
|
|
|
|
|
|
#ifdef CONFIG_CPU_CP15
|
|
@@ -326,4 +328,6 @@ static inline int __attribute_const__ cpuid_feature_extract_field(u32 features,
|
|
|
#define cpuid_feature_extract(reg, field) \
|
|
|
cpuid_feature_extract_field(read_cpuid_ext(reg), field)
|
|
|
|
|
|
+#endif /* __ASSEMBLY__ */
|
|
|
+
|
|
|
#endif
|