Fix build with tracing enabled

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33219 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2009-09-21 09:50:30 +00:00
parent bed1c0d42e
commit bf7902cb4b
1 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ setup_apic(kernel_args *args, int32 cpu)
uint32 config;
TRACE(("setting up the APIC for CPU %ld...\n", cpu));
TRACE((" apic id %d, version %d\n", apic_read(APIC_ID), apic_read(APIC_VERSION)));
TRACE((" apic id %ld, version %ld\n", apic_read(APIC_ID), apic_read(APIC_VERSION)));
/* set spurious interrupt vector to 0xff */
config = apic_read(APIC_SPURIOUS_INTR_VECTOR) & 0xffffff00;
@ -123,7 +123,7 @@ i386_ici_interrupt(void *data)
{
// genuine inter-cpu interrupt
int cpu = smp_get_current_cpu();
TRACE(("inter-cpu interrupt on cpu %ld\n", cpu));
TRACE(("inter-cpu interrupt on cpu %d\n", cpu));
// if we are not using the IO APIC we need to acknowledge the
// interrupt ourselfs