patch-2.4.8 linux/arch/i386/kernel/cpuid.c
Next file: linux/arch/i386/kernel/dmi_scan.c
Previous file: linux/arch/i386/boot/setup.S
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Jul 26 13:37:38 2001
- Orig file:
v2.4.7/linux/arch/i386/kernel/cpuid.c
- Orig date:
Sun Dec 31 09:23:51 2000
diff -u --recursive --new-file v2.4.7/linux/arch/i386/kernel/cpuid.c linux/arch/i386/kernel/cpuid.c
@@ -57,7 +57,7 @@
cpuid(cmd->reg, &cmd->data[0], &cmd->data[1], &cmd->data[2], &cmd->data[3]);
}
-extern inline void do_cpuid(int cpu, u32 reg, u32 *data)
+static inline void do_cpuid(int cpu, u32 reg, u32 *data)
{
struct cpuid_command cmd;
@@ -73,7 +73,7 @@
}
#else /* ! CONFIG_SMP */
-extern inline void do_cpuid(int cpu, u32 reg, u32 *data)
+static inline void do_cpuid(int cpu, u32 reg, u32 *data)
{
cpuid(reg, &data[0], &data[1], &data[2], &data[3]);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)