x86: memory corruption check - cleanup

Move the prototypes from the generic kernel.h header to the more
appropriate include/asm-x86/bios_ebda.h header file.

Also, remove the check from the power management code - this is a
pure x86 matter for now.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Ingo Molnar
2008-10-12 15:06:29 +02:00
parent a9b9e81c91
commit 46eaa67020
5 changed files with 19 additions and 18 deletions
-17
View File
@@ -240,23 +240,6 @@ extern const char *print_tainted(void);
extern void add_taint(unsigned);
extern int root_mountflags;
#ifdef CONFIG_X86_CHECK_BIOS_CORRUPTION
/*
* This is obviously not a great place for this, but we want to be
* able to scatter it around anywhere in the kernel.
*/
void check_for_bios_corruption(void);
void start_periodic_check_for_corruption(void);
#else
static inline void check_for_bios_corruption(void)
{
}
static inline void start_periodic_check_for_corruption(void)
{
}
#endif
/* Values used for system_state */
extern enum system_states {
SYSTEM_BOOTING,