x86: fix compile error with corruption checking disabled
authorJeremy Fitzhardinge <jeremy@goop.org>
Sun, 7 Sep 2008 21:54:41 +0000 (14:54 -0700)
committerIngo Molnar <mingo@elte.hu>
Mon, 8 Sep 2008 18:03:06 +0000 (20:03 +0200)
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@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/kernel.h

index 00bb251..50873b2 100644 (file)
@@ -251,6 +251,10 @@ void start_periodic_check_for_corruption(void);
 static inline void check_for_bios_corruption(void)
 {
 }
+
+static inline void start_periodic_check_for_corruption(void)
+{
+}
 #endif
 
 /* Values used for system_state */