summaryrefslogtreecommitdiff
path: root/src/arch/i386/smp/ioapic.c
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/arch/i386/smp/ioapic.c
parent054c7235c3d1094214b9cbe9f2cc876dfb249d62 (diff)
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/arch/i386/smp/ioapic.c')
-rw-r--r--src/arch/i386/smp/ioapic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/i386/smp/ioapic.c b/src/arch/i386/smp/ioapic.c
index 4e72f46f03..d64b0ad3f3 100644
--- a/src/arch/i386/smp/ioapic.c
+++ b/src/arch/i386/smp/ioapic.c
@@ -55,11 +55,11 @@ void setup_ioapic(void)
{
int i;
unsigned long value_low, value_high;
- unsigned long nvram = 0xfec00000;
+ unsigned long ioapicaddr = 0xfec00000;
volatile unsigned long *l;
struct ioapicreg *a = ioapicregvalues;
- l = (unsigned long *) nvram;
+ l = (unsigned long *) ioapicaddr;
#if defined(i786)
/* For the pentium 4 and above apic deliver their interrupts
* on the front side bus, enable that.