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
54e2e762
Commit
54e2e762
authored
Jul 07, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Use kstat_this_cpu where possible.
parent
4731c06b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
arch/sparc64/kernel/irq.c
arch/sparc64/kernel/irq.c
+2
-2
arch/sparc64/kernel/smp.c
arch/sparc64/kernel/smp.c
+1
-1
No files found.
arch/sparc64/kernel/irq.c
View file @
54e2e762
...
@@ -733,7 +733,7 @@ void handler_irq(int irq, struct pt_regs *regs)
...
@@ -733,7 +733,7 @@ void handler_irq(int irq, struct pt_regs *regs)
#endif
#endif
irq_enter
();
irq_enter
();
kstat_
cpu
(
cpu
)
.
irqs
[
irq
]
++
;
kstat_
this_cpu
.
irqs
[
irq
]
++
;
/* Sliiiick... */
/* Sliiiick... */
#ifndef CONFIG_SMP
#ifndef CONFIG_SMP
...
@@ -805,7 +805,7 @@ void sparc_floppy_irq(int irq, void *dev_cookie, struct pt_regs *regs)
...
@@ -805,7 +805,7 @@ void sparc_floppy_irq(int irq, void *dev_cookie, struct pt_regs *regs)
int
cpu
=
smp_processor_id
();
int
cpu
=
smp_processor_id
();
irq_enter
();
irq_enter
();
kstat_
cpu
(
cpu
)
.
irqs
[
irq
]
++
;
kstat_
this_cpu
.
irqs
[
irq
]
++
;
*
(
irq_work
(
cpu
,
irq
))
=
0
;
*
(
irq_work
(
cpu
,
irq
))
=
0
;
bucket
=
get_ino_in_irqaction
(
action
)
+
ivector_table
;
bucket
=
get_ino_in_irqaction
(
action
)
+
ivector_table
;
...
...
arch/sparc64/kernel/smp.c
View file @
54e2e762
...
@@ -1060,7 +1060,7 @@ void smp_percpu_timer_interrupt(struct pt_regs *regs)
...
@@ -1060,7 +1060,7 @@ void smp_percpu_timer_interrupt(struct pt_regs *regs)
irq_enter
();
irq_enter
();
if
(
cpu
==
boot_cpu_id
)
{
if
(
cpu
==
boot_cpu_id
)
{
kstat_
cpu
(
cpu
)
.
irqs
[
0
]
++
;
kstat_
this_cpu
.
irqs
[
0
]
++
;
timer_tick_interrupt
(
regs
);
timer_tick_interrupt
(
regs
);
}
}
...
...
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