lkml.org 
[lkml]   [2008]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 5/3] x86: fix compile error with corruption checking disabled
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>
---
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 */



\
 
 \ /
  Last update: 2008-09-07 23:57    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog