diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-10-12 09:06:29 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-12 09:09:23 -0400 |
commit | 46eaa6702016e3ac9a188172a2c309d6ca1be1cd (patch) | |
tree | 77e893c287fe15acafd68bede8eb9b46bd541672 /drivers | |
parent | a9b9e81c915e4a57ac3b21d1a7fa7ff184639780 (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/base/power/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c index bf6d3554e506..273a944d4040 100644 --- a/drivers/base/power/main.c +++ b/drivers/base/power/main.c | |||
@@ -254,7 +254,6 @@ static char *pm_verb(int event) | |||
254 | 254 | ||
255 | static void pm_dev_dbg(struct device *dev, pm_message_t state, char *info) | 255 | static void pm_dev_dbg(struct device *dev, pm_message_t state, char *info) |
256 | { | 256 | { |
257 | check_for_bios_corruption(); | ||
258 | dev_dbg(dev, "%s%s%s\n", info, pm_verb(state.event), | 257 | dev_dbg(dev, "%s%s%s\n", info, pm_verb(state.event), |
259 | ((state.event & PM_EVENT_SLEEP) && device_may_wakeup(dev)) ? | 258 | ((state.event & PM_EVENT_SLEEP) && device_may_wakeup(dev)) ? |
260 | ", may wakeup" : ""); | 259 | ", may wakeup" : ""); |