summaryrefslogtreecommitdiff
path: root/src/cpu/x86/lapic
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-03-06 17:24:29 +0000
committerStefan Reinauer <stepan@openbios.org>2009-03-06 17:24:29 +0000
commit8dcd50b15558dd2e3ee509779dd39b7f385238f4 (patch)
tree2400a431c1502cdcbae71901348418b89d1491b3 /src/cpu/x86/lapic
parent054c7235c3d1094214b9cbe9f2cc876dfb249d62 (diff)
downloadcoreboot-8dcd50b15558dd2e3ee509779dd39b7f385238f4.tar.xz
fix a bunch of cast and type warnings and don't call the apic "nvram", that
doesn't make no sense. (trivial) Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3977 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/x86/lapic')
-rw-r--r--src/cpu/x86/lapic/lapic_cpu_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/x86/lapic/lapic_cpu_init.c b/src/cpu/x86/lapic/lapic_cpu_init.c
index 75437fc6e9..d7fdd51886 100644
--- a/src/cpu/x86/lapic/lapic_cpu_init.c
+++ b/src/cpu/x86/lapic/lapic_cpu_init.c
@@ -295,7 +295,7 @@ void stop_this_cpu(void)
lapicid = lapic_read(LAPIC_ID) >> 24;
- printk_debug("CPU %d going down...\n", lapicid);
+ printk_debug("CPU %ld going down...\n", lapicid);
/* send an LAPIC INIT to myself */
lapic_write_around(LAPIC_ICR2, SET_LAPIC_DEST_FIELD(lapicid));