patch-2.1.85 linux/arch/i386/kernel/smp.c
Next file: linux/arch/ppc/config.in
Previous file: linux/arch/i386/kernel/setup.c
Back to the patch index
Back to the overall index
- Lines: 46
- Date:
Tue Feb 3 15:28:34 1998
- Orig file:
v2.1.84/linux/arch/i386/kernel/smp.c
- Orig date:
Fri Jan 23 18:10:31 1998
diff -u --recursive --new-file v2.1.84/linux/arch/i386/kernel/smp.c linux/arch/i386/kernel/smp.c
@@ -258,10 +258,14 @@
}
memcpy(str,mpc->mpc_oem,8);
str[8]=0;
+ memcpy(ioapic_OEM_ID,str,9);
printk("OEM ID: %s ",str);
+
memcpy(str,mpc->mpc_productid,12);
str[12]=0;
+ memcpy(ioapic_Product_ID,str,13);
printk("Product ID: %s ",str);
+
printk("APIC at: 0x%lX\n",mpc->mpc_lapic);
/* set the local APIC address */
@@ -367,14 +371,6 @@
--mp_irq_entries;
}
-printk(" Itype:%d Iflag:%d srcbus:%d srcbusI:%d dstapic:%d dstI:%d.\n",
- m->mpc_irqtype,
- m->mpc_irqflag,
- m->mpc_srcbus,
- m->mpc_srcbusirq,
- m->mpc_dstapic,
- m->mpc_dstirq);
-
mpt+=sizeof(*m);
count+=sizeof(*m);
break;
@@ -1372,10 +1368,13 @@
p->counter = 0;
need_resched = 1;
}
- if (p->priority < DEF_PRIORITY)
+ if (p->priority < DEF_PRIORITY) {
kstat.cpu_nice += user;
- else
+ kstat.per_cpu_nice[cpu] += user;
+ } else {
kstat.cpu_user += user;
+ kstat.per_cpu_user[cpu] += user;
+ }
kstat.cpu_system += system;
kstat.per_cpu_system[cpu] += system;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov