From 11ac1cfaa30bff3162d9f857d0269e28d900d281 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Tue, 1 Mar 2011 07:30:14 +0000 Subject: Mark non-returning function as noreturn to help some compiler versions Signed-off-by: Patrick Georgi Acked-by: Patrick Georgi git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6418 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/amd/lx/raminit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/northbridge/amd') diff --git a/src/northbridge/amd/lx/raminit.c b/src/northbridge/amd/lx/raminit.c index 7240898695..f5e2c69a45 100644 --- a/src/northbridge/amd/lx/raminit.c +++ b/src/northbridge/amd/lx/raminit.c @@ -32,7 +32,7 @@ static void banner(const char *s) printk(BIOS_DEBUG, " * %s\n", s); } -static void hcf(void) +static void __attribute__((noreturn)) hcf(void) { print_emerg("DIE\n"); /* this guarantees we flush the UART fifos (if any) and also -- cgit v1.2.3