]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sparc/smp.h
[SCTP]: Kill unused static inline sctp_sysctl_jiffies_ms
[linux-2.6-omap-h63xx.git] / include / asm-sparc / smp.h
index 5a1b7e4e7cc91ff14c219738a388607eed2f1bc2..b3f492208fd20168d2615a6bf51ae8a9101f63b3 100644 (file)
@@ -145,6 +145,8 @@ static inline int hard_smp_processor_id(void)
 #define prof_multiplier(__cpu)         cpu_data(__cpu).multiplier
 #define prof_counter(__cpu)            cpu_data(__cpu).counter
 
+void smp_setup_cpu_possible_map(void);
+
 #endif /* !(__ASSEMBLY__) */
 
 /* Sparc specific messages. */
@@ -161,7 +163,12 @@ static inline int hard_smp_processor_id(void)
 #define MBOX_IDLECPU2         0xFD
 #define MBOX_STOPCPU2         0xFE
 
-#endif /* SMP */
+#else /* SMP */
+
+#define hard_smp_processor_id()                0
+#define smp_setup_cpu_possible_map() do { } while (0)
+
+#endif /* !(SMP) */
 
 #define NO_PROC_ID            0xFF