Commit 758634f5 authored by Dave Jones's avatar Dave Jones

[PATCH] max_cpus overflow.

Without the below patch, my HT 2-way prints out
"CPUS Done 4294967295" on boot, which whilst amusing
is somewhat exaggerated.
parent d1aefb8b
...@@ -101,7 +101,7 @@ int rows, cols; ...@@ -101,7 +101,7 @@ int rows, cols;
char *execute_command; char *execute_command;
/* Setup configured maximum number of CPUs to activate */ /* Setup configured maximum number of CPUs to activate */
static unsigned int max_cpus = UINT_MAX; static unsigned int max_cpus = NR_CPUS;
/* /*
* Setup routine for controlling SMP activation * Setup routine for controlling SMP activation
......
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