Messages in this thread Patch in this message | | | Date | Wed, 14 Dec 2005 17:13:26 -0800 (PST) | From | Zwane Mwaikambo <> | Subject | [PATCH] PPC: Remove unecessary BUG_ON |
| |
Following a NULL function pointer should trigger an instruction access fault.
Signed-off-by: Zwane Mwaikambo <zwane@arm.linux.org.uk>
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |