Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
0c588692
Commit
0c588692
authored
Aug 19, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Fix uniprocessor build.
parent
6532914a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
arch/sparc64/kernel/devices.c
arch/sparc64/kernel/devices.c
+1
-0
include/asm-sparc64/smp.h
include/asm-sparc64/smp.h
+4
-0
No files found.
arch/sparc64/kernel/devices.c
View file @
0c588692
...
@@ -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
...
...
include/asm-sparc64/smp.h
View file @
0c588692
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment