Commit a82ac6ee authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds

[PATCH] Fix for a really stupid off by 1 bug.

I goofed in my last patch to this code..
It reported 1 less CPU than it should have. Doh.
parent 906b4b7e
...@@ -350,7 +350,7 @@ static void __init setup_per_cpu_areas(void) ...@@ -350,7 +350,7 @@ static void __init setup_per_cpu_areas(void)
static void __init smp_init(void) static void __init smp_init(void)
{ {
unsigned int i; unsigned int i;
unsigned j = 0; unsigned j = 1;
/* FIXME: This should be done in userspace --RR */ /* FIXME: This should be done in userspace --RR */
for (i = 0; i < NR_CPUS; i++) { for (i = 0; i < NR_CPUS; i++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment