diff options
author | Anton Blanchard <anton@samba.org> | 2011-04-07 21:44:21 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-04-21 14:32:54 -0700 |
commit | 4efa7d8da6914e9cce94f405649e407ffa20a04e (patch) | |
tree | f04cacd102ed3ba1481a722aba6840445aba2314 /lib/debugobjects.c | |
parent | a506a5b9282e4b944ed314d2b30ce387c44ff9fe (diff) |
powerpc: Fix oops if scan_dispatch_log is called too early
commit 84ffae55af79d7b8834fd0c08d0d1ebf2c77f91e upstream.
We currently enable interrupts before the dispatch log for the boot
cpu is setup. If a timer interrupt comes in early enough we oops in
scan_dispatch_log:
Unable to handle kernel paging request for data at address 0x00000010
...
.scan_dispatch_log+0xb0/0x170
.account_system_vtime+0xa0/0x220
.irq_enter+0x88/0xc0
.do_IRQ+0x48/0x230
The patch below adds a check to scan_dispatch_log to ensure the
dispatch log has been allocated.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions