diff options
author | Akinobu Mita <mita@miraclelinux.com> | 2006-09-29 11:00:22 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 18:18:14 +0200 |
commit | 07dccf3344010f9b9df7fe725da7e73bca2992df (patch) | |
tree | 696730ef4e1bf85a24eac84713921746f74c7c10 /drivers | |
parent | [PATCH] sound/sparc/dbri: Use ARRAY_SIZE macro (diff) | |
download | linux-07dccf3344010f9b9df7fe725da7e73bca2992df.tar.xz linux-07dccf3344010f9b9df7fe725da7e73bca2992df.zip |
[PATCH] check return value of cpu_callback
Spawing ksoftirqd, migration, or watchdog, and calling init_timers_cpu()
may fail with small memory. If it happens in initcalls, kernel NULL
pointer dereference happens later. This patch makes crash happen
immediately in such cases. It seems a bit better than getting kernel NULL
pointer dereference later.
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Akinobu Mita <mita@miraclelinux.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions