libfs: allow error return from simple attributes
[platform/adaptation/renesas_rcar/renesas_kernel.git] / include / asm-um / smp.h
index ca55226..f27a963 100644 (file)
@@ -18,12 +18,16 @@ extern int hard_smp_processor_id(void);
 extern int ncpus;
 
 
-extern inline void smp_cpus_done(unsigned int maxcpus)
+static inline void smp_cpus_done(unsigned int maxcpus)
 {
 }
 
 extern struct task_struct *idle_threads[NR_CPUS];
 
+#else
+
+#define hard_smp_processor_id()                0
+
 #endif
 
 #endif