]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-ia64/percpu.h
PCI PM: Fix pci_prepare_to_sleep
[linux-2.6-omap-h63xx.git] / include / asm-ia64 / percpu.h
index 26404b77f007b6029e4fba1fc276c36ec604cbc0..77f30b664b4eade81ca0985be35d97825fe0a3a8 100644 (file)
 
 #include <linux/threads.h>
 
+#ifdef CONFIG_SMP
+
 #ifdef HAVE_MODEL_SMALL_ATTRIBUTE
 # define PER_CPU_ATTRIBUTES    __attribute__((__model__ (__small__)))
 #endif
 
-#ifdef CONFIG_SMP
-
 #define __my_cpu_offset        __ia64_per_cpu_var(local_per_cpu_offset)
 
 extern void *per_cpu_init(void);
 
 #else /* ! SMP */
 
+#define PER_CPU_ATTRIBUTES     __attribute__((__section__(".data.percpu")))
+
 #define per_cpu_init()                         (__phys_per_cpu_start)
 
 #endif /* SMP */