[PATCH] PPC: Remove unecessary BUG_ON
From: Zwane Mwaikambo
Date: Wed Dec 14 2005 - 20:07:15 EST
Following a NULL function pointer should trigger an instruction access
fault.
Signed-off-by: Zwane Mwaikambo <zwane@xxxxxxxxxxxxxxxx>
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/