patch-2.3.99-pre9 linux/arch/i386/kernel/mpparse.c
Next file: linux/arch/i386/kernel/pci-i386.c
Previous file: linux/arch/i386/kernel/ldt.c
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Sat May 13 07:37:34 2000
- Orig file:
v2.3.99-pre8/linux/arch/i386/kernel/mpparse.c
- Orig date:
Wed Apr 26 16:34:06 2000
diff -u --recursive --new-file v2.3.99-pre8/linux/arch/i386/kernel/mpparse.c linux/arch/i386/kernel/mpparse.c
@@ -50,11 +50,6 @@
unsigned long phys_cpu_present_map = 0;
/*
- * IA s/w dev Vol 3, Section 7.4
- */
-#define APIC_DEFAULT_PHYS_BASE 0xfee00000
-
-/*
* Intel MP BIOS table parsing routines:
*/
@@ -65,10 +60,12 @@
static int __init mpf_checksum(unsigned char *mp, int len)
{
- int sum=0;
- while(len--)
- sum+=*mp++;
- return sum&0xFF;
+ int sum = 0;
+
+ while (len--)
+ sum += *mp++;
+
+ return sum & 0xFF;
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)