diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-09-07 17:54:41 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-09-08 14:03:06 -0400 |
commit | 9c3254ad42e7925c3a3907a072185273705bd7b2 (patch) | |
tree | 67b5d11a53adc4659b15bea45818d173010615fd /include/linux | |
parent | c885df50f571faf9fd9f395361cfff1b3a16e06e (diff) |
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>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/kernel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index 00bb251c6451..50873b211788 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h | |||
@@ -251,6 +251,10 @@ void start_periodic_check_for_corruption(void); | |||
251 | static inline void check_for_bios_corruption(void) | 251 | static inline void check_for_bios_corruption(void) |
252 | { | 252 | { |
253 | } | 253 | } |
254 | |||
255 | static inline void start_periodic_check_for_corruption(void) | ||
256 | { | ||
257 | } | ||
254 | #endif | 258 | #endif |
255 | 259 | ||
256 | /* Values used for system_state */ | 260 | /* Values used for system_state */ |