diff options
author | Patrick Georgi <patrick.georgi@secunet.com> | 2011-03-01 07:30:14 +0000 |
---|---|---|
committer | Patrick Georgi <patrick.georgi@coresystems.de> | 2011-03-01 07:30:14 +0000 |
commit | 11ac1cfaa30bff3162d9f857d0269e28d900d281 (patch) | |
tree | a436ee2bffb0d5d8a9e2966cc9d9e2ef55bb7760 /src/northbridge/amd/lx | |
parent | 6eb6a7c8d57969cde6db50072ac4e1a241f6ade7 (diff) |
Mark non-returning function as noreturn to help some compiler versions
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
Diffstat (limited to 'src/northbridge/amd/lx')
-rw-r--r-- | src/northbridge/amd/lx/raminit.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |