diff options
Diffstat (limited to 'src/console/die.c')
-rw-r--r-- | src/console/die.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/console/die.c b/src/console/die.c index 79babeceee..3f5ca45068 100644 --- a/src/console/die.c +++ b/src/console/die.c @@ -15,6 +15,7 @@ */ #include <arch/io.h> +#include <compiler.h> #include <console/console.h> #include <halt.h> @@ -27,7 +28,7 @@ * EC is capable of controlling LEDs or a buzzer the method can be overwritten * in EC directory instead. */ -__attribute__ ((weak)) void die_notify(void) +__weak void die_notify(void) { } |