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
fdb072ba
Commit
fdb072ba
authored
Aug 02, 2002
by
David Mosberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ia64: Allow for more than 32 CPUs. Minor formatting cleanups.
parent
655d0d45
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
arch/ia64/kernel/setup.c
arch/ia64/kernel/setup.c
+1
-1
arch/ia64/kernel/smpboot.c
arch/ia64/kernel/smpboot.c
+1
-1
include/asm-ia64/hardirq.h
include/asm-ia64/hardirq.h
+2
-2
No files found.
arch/ia64/kernel/setup.c
View file @
fdb072ba
...
...
@@ -436,7 +436,7 @@ static void *
c_start
(
struct
seq_file
*
m
,
loff_t
*
pos
)
{
#ifdef CONFIG_SMP
while
(
*
pos
<
NR_CPUS
&&
!
(
cpu_online_map
&
(
1
<<
*
pos
)))
while
(
*
pos
<
NR_CPUS
&&
!
(
cpu_online_map
&
(
1
UL
<<
*
pos
)))
++*
pos
;
#endif
return
*
pos
<
NR_CPUS
?
cpu_data
(
*
pos
)
:
NULL
;
...
...
arch/ia64/kernel/smpboot.c
View file @
fdb072ba
...
...
@@ -514,7 +514,7 @@ smp_boot_cpus (unsigned int max_cpus)
}
else
{
unsigned
long
bogosum
=
0
;
for
(
cpu
=
0
;
cpu
<
NR_CPUS
;
cpu
++
)
if
(
cpu_online_map
&
(
1
<<
cpu
))
if
(
cpu_online_map
&
(
1
UL
<<
cpu
))
bogosum
+=
cpu_data
(
cpu
)
->
loops_per_jiffy
;
printk
(
KERN_INFO
"Total of %d processors activated (%lu.%02lu BogoMIPS).
\n
"
,
...
...
include/asm-ia64/hardirq.h
View file @
fdb072ba
...
...
@@ -17,13 +17,13 @@
* No irq_cpustat_t for IA-64. The data is held in the per-CPU data structure.
*/
#define softirq_pending(cpu) (cpu_data(cpu)->softirq_pending)
#define ksoftirqd_task(cpu) (cpu_data(cpu)->ksoftirqd)
#define syscall_count(cpu)
/* unused on IA-64 */
#define ksoftirqd_task(cpu) (cpu_data(cpu)->ksoftirqd)
#define nmi_count(cpu) 0
#define local_softirq_pending() (local_cpu_data->softirq_pending)
#define local_ksoftirqd_task() (local_cpu_data->ksoftirqd)
#define local_syscall_count()
/* unused on IA-64 */
#define local_ksoftirqd_task() (local_cpu_data->ksoftirqd)
#define local_nmi_count() 0
/*
...
...
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