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
nexedi
linux
Commits
eeca4b50
Commit
eeca4b50
authored
Mar 14, 2004
by
Keith M. Wesolowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC32]: Also remove num_cpus_possible as was done on sparc64
parent
e55b1c86
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
8 deletions
+0
-8
arch/sparc/kernel/smp.c
arch/sparc/kernel/smp.c
+0
-1
include/asm-sparc/smp.h
include/asm-sparc/smp.h
+0
-7
No files found.
arch/sparc/kernel/smp.c
View file @
eeca4b50
...
...
@@ -50,7 +50,6 @@ volatile int __cpu_logical_map[NR_CPUS];
cycles_t
cacheflush_time
=
0
;
/* XXX */
cpumask_t
cpu_online_map
=
CPU_MASK_NONE
;
atomic_t
sparc_num_cpus_possible
=
ATOMIC_INIT
(
0
);
cpumask_t
phys_cpu_present_map
=
CPU_MASK_NONE
;
/* The only guaranteed locking primitive available on all Sparc
...
...
include/asm-sparc/smp.h
View file @
eeca4b50
...
...
@@ -33,9 +33,6 @@ extern unsigned char boot_cpu_id;
extern
cpumask_t
phys_cpu_present_map
;
#define cpu_possible_map phys_cpu_present_map
extern
atomic_t
sparc_num_cpus_possible
;
#define num_possible_cpus() (atomic_read(&sparc_num_cpus_possible))
typedef
void
(
*
smpfunc_t
)(
unsigned
long
,
unsigned
long
,
unsigned
long
,
unsigned
long
,
unsigned
long
);
...
...
@@ -169,10 +166,6 @@ extern __inline__ int hard_smp_processor_id(void)
#define MBOX_IDLECPU2 0xFD
#define MBOX_STOPCPU2 0xFE
#else
/* SMP */
#define num_possible_cpus() (1)
#endif
/* SMP */
#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