diff options
author | Len Brown <len.brown@intel.com> | 2011-04-01 21:08:48 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-05-29 09:39:15 +0200 |
commit | 3b70b2e5fcf6315eb833a1bcc2b810bdc75484ff (patch) | |
tree | 803b88453cf6be96b81727105b67bb7566cf7b48 /drivers/block/floppy.c | |
parent | x86 idle: EXPORT_SYMBOL(default_idle, pm_idle) only when APM demands it (diff) | |
download | linux-3b70b2e5fcf6315eb833a1bcc2b810bdc75484ff.tar.xz linux-3b70b2e5fcf6315eb833a1bcc2b810bdc75484ff.zip |
x86 idle floppy: deprecate disable_hlt()
Plan to remove floppy_disable_hlt in 2012, an ancient
workaround with comments that it should be removed.
This allows us to remove clutter and a run-time branch
from the idle code.
WARN_ONCE() on invocation until it is removed.
cc: x86@kernel.org
cc: stable@kernel.org # .39.x
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/block/floppy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c index 77fc76f8aea9..20aea9b511b5 100644 --- a/drivers/block/floppy.c +++ b/drivers/block/floppy.c @@ -1038,6 +1038,7 @@ static void floppy_disable_hlt(void) { unsigned long flags; + WARN_ONCE(1, "floppy_disable_hlt() scheduled for removal in 2012"); spin_lock_irqsave(&floppy_hlt_lock, flags); if (!hlt_disabled) { hlt_disabled = 1; |