diff options
author | Matthew Garrett | 2010-06-30 00:05:29 +0200 |
---|---|---|
committer | Linus Torvalds | 2010-06-30 00:29:31 +0200 |
commit | 56480287f9776adc5b1a7a335ef62a9b9879ad7f (patch) | |
tree | 74d6962b3e056fdf6303f7fc12f9e50b514faf11 /mm/mempolicy.c | |
parent | kexec: fix Oops in crash_shrink_memory() (diff) | |
download | kernel-qcow2-linux-56480287f9776adc5b1a7a335ef62a9b9879ad7f.tar.gz kernel-qcow2-linux-56480287f9776adc5b1a7a335ef62a9b9879ad7f.tar.xz kernel-qcow2-linux-56480287f9776adc5b1a7a335ef62a9b9879ad7f.zip |
ipmi: make sure drivers were registered before unregistering them
The ipmi code will never register a PCI or Open Firmware driver if a
hardcoded device is provided by the user by providing device addresses via
the module parameters. This can cause us to attempt to unregister a
driver that was never registered, resulting in an oops. Keep track of
registration in order to avoid this.
Fixes a post-2.6.34 regression.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Acked-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mempolicy.c')
0 files changed, 0 insertions, 0 deletions