MIPS: Loongson: Convert loongson_halt() to use unreachable()
authorWu Zhangjin <wuzhangjin@gmail.com>
Mon, 4 Jan 2010 09:16:45 +0000 (17:16 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 27 Feb 2010 11:53:10 +0000 (12:53 +0100)
commit6f3209659833e3ed653840d19b2f624f6db07823
tree811e4d3a76a448c33ced0a153ef94c01b85ea411
parentc70798f132818eaa79c48a08d0f19a7d61db8822
MIPS: Loongson: Convert loongson_halt() to use unreachable()

Use the new unreachable() macro instead of while(1);

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: yanh@lemote.com
Cc: huhb@lemote.com
Cc: zhangfx@lemote.com
Patchwork: http://patchwork.linux-mips.org/patch/823/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/loongson/common/reset.c