Mark non-returning function as noreturn to help some compiler versions
authorPatrick Georgi <patrick.georgi@secunet.com>
Tue, 1 Mar 2011 07:30:14 +0000 (07:30 +0000)
committerPatrick Georgi <patrick.georgi@coresystems.de>
Tue, 1 Mar 2011 07:30:14 +0000 (07:30 +0000)
Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Acked-by: Patrick Georgi <patrick.georgi@secunet.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6418 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/northbridge/amd/lx/raminit.c

index 7240898695ab0e42f59a6493fb19493780009e36..f5e2c69a45161ece821a1f44c5542ea01ed42675 100644 (file)
@@ -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