Following a NULL function pointer should trigger an instruction access
fault.
Signed-off-by: Zwane Mwaikambo <[email protected]>
diff -r 5dfcc42643e1 arch/powerpc/kernel/idle_64.c
--- a/arch/powerpc/kernel/idle_64.c Wed Dec 14 15:08:24 2005 +0800
+++ b/arch/powerpc/kernel/idle_64.c Wed Dec 14 17:06:50 2005 -0800
@@ -84,7 +84,6 @@
void cpu_idle(void)
{
- BUG_ON(NULL == ppc_md.idle_loop);
ppc_md.idle_loop();
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]