patch-2.4.8 linux/include/asm-i386/smp.h
Next file: linux/include/asm-i386/smplock.h
Previous file: linux/include/asm-i386/signal.h
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Fri Aug 10 18:13:47 2001
- Orig file:
v2.4.7/linux/include/asm-i386/smp.h
- Orig date:
Tue Aug 7 12:48:42 2001
diff -u --recursive --new-file v2.4.7/linux/include/asm-i386/smp.h linux/include/asm-i386/smp.h
@@ -46,11 +46,11 @@
* This simplifies scheduling and IPI sending and
* compresses data structures.
*/
-extern inline int cpu_logical_map(int cpu)
+static inline int cpu_logical_map(int cpu)
{
return cpu;
}
-extern inline int cpu_number_map(int cpu)
+static inline int cpu_number_map(int cpu)
{
return cpu;
}
@@ -77,7 +77,7 @@
#define smp_processor_id() (current->processor)
-extern __inline int hard_smp_processor_id(void)
+static __inline int hard_smp_processor_id(void)
{
/* we don't want to mark this access volatile - bad code generation */
return GET_APIC_ID(*(unsigned long *)(APIC_BASE+APIC_ID));
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)