diff options
author | David Daney <[email protected]> | 2009-12-10 18:07:24 -0500 |
---|---|---|
committer | Matt Turner <[email protected]> | 2009-12-18 01:14:52 -0500 |
commit | acadbfb90a54673d6c8b05aa4e93218433890411 (patch) | |
tree | 51a505ed337af12751e8a54043dcffa5d81b41ca | |
parent | a582e6f01b90211933e70edcec9bc0bbb1157402 (diff) |
alpha: Convert BUG() to use unreachable()
Use the new unreachable() macro instead of for(;;);
Signed-off-by: David Daney <[email protected]>
CC: Richard Henderson <[email protected]>
CC: Ivan Kokshaysky <[email protected]>
CC: [email protected]
Signed-off-by: Matt Turner <[email protected]>
-rw-r--r-- | arch/alpha/include/asm/bug.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/alpha/include/asm/bug.h b/arch/alpha/include/asm/bug.h index 1720c8ad86fe..f091682e3cc8 100644 --- a/arch/alpha/include/asm/bug.h +++ b/arch/alpha/include/asm/bug.h @@ -13,7 +13,8 @@ "call_pal %0 # bugchk\n\t" \ ".long %1\n\t.8byte %2" \ : : "i"(PAL_bugchk), "i"(__LINE__), "i"(__FILE__)); \ - for ( ; ; ); } while (0) + unreachable(); \ + } while (0) #define HAVE_ARCH_BUG #endif |