summaryrefslogtreecommitdiff
path: root/src/arch/i386
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/i386')
-rw-r--r--src/arch/i386/include/arch/smp/mpspec.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/arch/i386/include/arch/smp/mpspec.h b/src/arch/i386/include/arch/smp/mpspec.h
index 9f22b7f4af..98c21c5bcc 100644
--- a/src/arch/i386/include/arch/smp/mpspec.h
+++ b/src/arch/i386/include/arch/smp/mpspec.h
@@ -267,11 +267,14 @@ void *smp_write_floating_table(unsigned long addr);
unsigned long write_smp_table(unsigned long addr);
#else /* HAVE_MP_TABLE */
+#if 0
static inline
-unsigned long write_smp_table(unsigned long addr);
+unsigned long write_smp_table(unsigned long addr)
{
return addr;
}
+#endif
+#define write_smp_table(addr) addr
#endif /* HAVE_MP_TABLE */
#endif