|
@@ -27,12 +27,12 @@ extern void *per_cpu_init(void);
|
|
|
|
|
|
#else /* ! SMP */
|
|
#else /* ! SMP */
|
|
|
|
|
|
-#define PER_CPU_ATTRIBUTES __attribute__((__section__(".data.percpu")))
|
|
|
|
-
|
|
|
|
#define per_cpu_init() (__phys_per_cpu_start)
|
|
#define per_cpu_init() (__phys_per_cpu_start)
|
|
|
|
|
|
#endif /* SMP */
|
|
#endif /* SMP */
|
|
|
|
|
|
|
|
+#define PER_CPU_BASE_SECTION ".data.percpu"
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* Be extremely careful when taking the address of this variable! Due to virtual
|
|
* Be extremely careful when taking the address of this variable! Due to virtual
|
|
* remapping, it is different from the canonical address returned by __get_cpu_var(var)!
|
|
* remapping, it is different from the canonical address returned by __get_cpu_var(var)!
|