summaryrefslogtreecommitdiffstats
path: root/src/console
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2021-09-10 16:29:23 -0600
committerFelix Held <felix-coreboot@felixheld.de>2021-09-17 23:52:02 +0000
commite74b0b6a5e30cb940029dd9bb732485d3c139189 (patch)
tree3aeff1b80bdf76a9985b5b4dad37f91aac61cc2b /src/console
parent6397e0ee41f251d85d5f43c81ce9158264a1cc1b (diff)
downloadcoreboot-e74b0b6a5e30cb940029dd9bb732485d3c139189.tar.gz
coreboot-e74b0b6a5e30cb940029dd9bb732485d3c139189.tar.bz2
coreboot-e74b0b6a5e30cb940029dd9bb732485d3c139189.zip
console: Remove asmlinkage from console_init
We never call console_init from asm, so we don't need the asmlinkage. This allows us to remove the arch/cpu.h include since we only needed it for the asmlinkage #define. BUG=b:179699789 TEST=build guybrush Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: I9a7895d4f5cba59f6b05915fa4d6c6fd6ab85773 Reviewed-on: https://review.coreboot.org/c/coreboot/+/57568 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/console')
-rw-r--r--src/console/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/init.c b/src/console/init.c
index a2ceb58018d1..4427d681e2f7 100644
--- a/src/console/init.c
+++ b/src/console/init.c
@@ -45,7 +45,7 @@ int console_log_level(int msg_level)
return 0;
}
-asmlinkage void console_init(void)
+void console_init(void)
{
init_log_level();