[PATCH 5/3] x86: fix compile error with corruption checking disabled

From: Jeremy Fitzhardinge
Date: Sun Sep 07 2008 - 17:54:55 EST


Fix compile error:
arch/x86/mm/init_32.c: In function 'mem_init':
arch/x86/mm/init_32.c:908: error: implicit declaration of function 'start_periodic_check_for_corruption'

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
---
include/linux/kernel.h | 4 ++++
1 file changed, 4 insertions(+)

===================================================================
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -257,6 +257,10 @@
static inline void check_for_bios_corruption(void)
{
}
+
+static inline void start_periodic_check_for_corruption(void)
+{
+}
#endif

/* Values used for system_state */


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/