Skip to content

Commit

Permalink
x86: fix compile error with corruption checking disabled
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jeremy Fitzhardinge authored and Ingo Molnar committed Sep 8, 2008
1 parent c885df5 commit 9c3254a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/linux/kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 9c3254a

Please sign in to comment.