From a4f18b62e9e07caf7fa72bff3b70db14476d164f Mon Sep 17 00:00:00 2001 From: Jordan Gordeev Date: Mon, 6 Jul 2009 13:25:53 +0300 Subject: [PATCH] amd64: Fix invocations of setidt(). setidt() has different interface on i386 and amd64. --- sys/platform/pc64/amd64/mp_machdep.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/platform/pc64/amd64/mp_machdep.c b/sys/platform/pc64/amd64/mp_machdep.c index 46fb195397..64e31cf79a 100644 --- a/sys/platform/pc64/amd64/mp_machdep.c +++ b/sys/platform/pc64/amd64/mp_machdep.c @@ -596,23 +596,23 @@ mp_enable(u_int boot_addr) /* install a 'Spurious INTerrupt' vector */ setidt(XSPURIOUSINT_OFFSET, Xspuriousint, - SDT_SYSIGT, SEL_KPL, GSEL(GCODE_SEL, SEL_KPL)); + SDT_SYSIGT, SEL_KPL, 0); /* install an inter-CPU IPI for TLB invalidation */ setidt(XINVLTLB_OFFSET, Xinvltlb, - SDT_SYSIGT, SEL_KPL, GSEL(GCODE_SEL, SEL_KPL)); + SDT_SYSIGT, SEL_KPL, 0); /* install an inter-CPU IPI for IPIQ messaging */ setidt(XIPIQ_OFFSET, Xipiq, - SDT_SYSIGT, SEL_KPL, GSEL(GCODE_SEL, SEL_KPL)); + SDT_SYSIGT, SEL_KPL, 0); /* install a timer vector */ setidt(XTIMER_OFFSET, Xtimer, - SDT_SYSIGT, SEL_KPL, GSEL(GCODE_SEL, SEL_KPL)); + SDT_SYSIGT, SEL_KPL, 0); /* install an inter-CPU IPI for CPU stop/restart */ setidt(XCPUSTOP_OFFSET, Xcpustop, - SDT_SYSIGT, SEL_KPL, GSEL(GCODE_SEL, SEL_KPL)); + SDT_SYSIGT, SEL_KPL, 0); /* start each Application Processor */ start_all_aps(boot_addr); -- 2.41.0