Commit 0c588692 authored by David S. Miller's avatar David S. Miller

[SPARC64]: Fix uniprocessor build.

parent 6532914a
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <asm/smp.h> #include <asm/smp.h>
#include <asm/spitfire.h> #include <asm/spitfire.h>
#include <asm/timer.h> #include <asm/timer.h>
#include <asm/cpudata.h>
/* Used to synchronize acceses to NatSemi SUPER I/O chip configure /* Used to synchronize acceses to NatSemi SUPER I/O chip configure
* operations in asm/ns87303.h * operations in asm/ns87303.h
......
...@@ -75,6 +75,10 @@ static __inline__ int hard_smp_processor_id(void) ...@@ -75,6 +75,10 @@ static __inline__ int hard_smp_processor_id(void)
#endif /* !(__ASSEMBLY__) */ #endif /* !(__ASSEMBLY__) */
#else
#define num_possible_cpus() (1)
#endif /* !(CONFIG_SMP) */ #endif /* !(CONFIG_SMP) */
#define NO_PROC_ID 0xFF #define NO_PROC_ID 0xFF
......
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