From: Akinobu Mita Date: Fri, 29 Sep 2006 09:00:22 +0000 (-0700) Subject: [PATCH] check return value of cpu_callback X-Git-Tag: v2.6.19-rc1~750 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07dccf3344010f9b9df7fe725da7e73bca2992df;p=pandora-kernel.git [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 Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed