patch-1.3.94 linux/include/asm-sparc/smp.h

Next file: linux/include/linux/affs_fs.h
Previous file: linux/include/asm-sparc/pgtable.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.93/linux/include/asm-sparc/smp.h linux/include/asm-sparc/smp.h
@@ -6,10 +6,7 @@
 #ifndef _SPARC_SMP_H
 #define _SPARC_SMP_H
 
-#ifdef __SMP__
-
 #ifndef __ASSEMBLY__
-
 /* PROM provided per-processor information we need
  * to start them all up.
  */
@@ -18,6 +15,11 @@
 	int prom_node;
 	int mid;
 };
+#endif /* !(__ASSEMBLY__) */
+
+#ifdef __SMP__
+
+#ifndef __ASSEMBLY__
 
 extern struct prom_cpuinfo linux_cpus[NCPUS];
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this