lkml.org 
[lkml]   [2005]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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/
\
 
 \ /
  Last update: 2005-12-15 02:10    [W:0.036 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site