From e7b1115572e92e4b5c37fb9ddd27311322cad672 Mon Sep 17 00:00:00 2001 From: Balazs Gerofi Date: Mon, 14 Sep 2015 17:30:25 +0900 Subject: [PATCH] mcreboot-smp-x86.sh: introduction of ihk_ikc_irq_core argument --- arch/x86/tools/mcreboot-smp-x86.sh.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/x86/tools/mcreboot-smp-x86.sh.in b/arch/x86/tools/mcreboot-smp-x86.sh.in index 15ab9938..96a40341 100644 --- a/arch/x86/tools/mcreboot-smp-x86.sh.in +++ b/arch/x86/tools/mcreboot-smp-x86.sh.in @@ -20,6 +20,8 @@ KERNDIR="@KERNDIR@" mem="512M@0" cpus="" +ihk_ikc_irq_core=0 + if [ "$cpus" == "" ]; then # Get the number of CPUs on NUMA node 0 @@ -51,7 +53,7 @@ if [ "`lsmod | grep ihk_smp_x86`" == "" ]; then fi done if [ "$ihk_irq" == "" ]; then echo "error: no IRQ available"; exit; fi - if ! insmod ${KMODDIR}/ihk-smp-x86.ko ihk_start_irq=$ihk_irq; then echo "error: loading ihk-smp-x86"; exit; fi; + if ! insmod ${KMODDIR}/ihk-smp-x86.ko ihk_start_irq=$ihk_irq ihk_ikc_irq_core=$ihk_ikc_irq_core; then echo "error: loading ihk-smp-x86"; exit; fi; if ! ${SBINDIR}/ihkconfig 0 reserve cpu ${cpus}; then echo "error: reserving CPUs"; exit; fi if ! ${SBINDIR}/ihkconfig 0 reserve mem ${mem}; then echo "error: reserving memory"; exit; fi # If loaded, but no resources allocated, get CPUs and memory