Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
X
xcap-capability-linux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
xcap
xcap-capability-linux
Commits
37daf322
Commit
37daf322
authored
14 years ago
by
Thomas Gleixner
Browse files
Options
Downloads
Patches
Plain Diff
unicore32: Use generic show_interrupts()
Signed-off-by:
Thomas Gleixner
<
tglx@linutronix.de
>
parent
e1f5ce81
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
arch/unicore32/Kconfig
+1
-0
1 addition, 0 deletions
arch/unicore32/Kconfig
arch/unicore32/kernel/irq.c
+0
-42
0 additions, 42 deletions
arch/unicore32/kernel/irq.c
with
1 addition
and
42 deletions
arch/unicore32/Kconfig
+
1
−
0
View file @
37daf322
...
...
@@ -11,6 +11,7 @@ config UNICORE32
select GENERIC_FIND_FIRST_BIT
select GENERIC_IRQ_PROBE
select GENERIC_HARDIRQS_NO_DEPRECATED
select GENERIC_IRQ_SHOW
select ARCH_WANT_FRAME_POINTERS
help
UniCore-32 is 32-bit Instruction Set Architecture,
...
...
This diff is collapsed.
Click to expand it.
arch/unicore32/kernel/irq.c
+
0
−
42
View file @
37daf322
...
...
@@ -355,48 +355,6 @@ void __init init_IRQ(void)
#endif
}
int
show_interrupts
(
struct
seq_file
*
p
,
void
*
v
)
{
int
i
=
*
(
loff_t
*
)
v
,
cpu
;
struct
irq_desc
*
desc
;
struct
irqaction
*
action
;
unsigned
long
flags
;
if
(
i
==
0
)
{
char
cpuname
[
12
];
seq_printf
(
p
,
" "
);
for_each_present_cpu
(
cpu
)
{
sprintf
(
cpuname
,
"CPU%d"
,
cpu
);
seq_printf
(
p
,
" %10s"
,
cpuname
);
}
seq_putc
(
p
,
'\n'
);
}
if
(
i
<
nr_irqs
)
{
desc
=
irq_to_desc
(
i
);
raw_spin_lock_irqsave
(
&
desc
->
lock
,
flags
);
action
=
desc
->
action
;
if
(
!
action
)
goto
unlock
;
seq_printf
(
p
,
"%3d: "
,
i
);
for_each_present_cpu
(
cpu
)
seq_printf
(
p
,
"%10u "
,
kstat_irqs_cpu
(
i
,
cpu
));
seq_printf
(
p
,
" %10s"
,
desc
->
irq_data
.
chip
->
name
?
:
"-"
);
seq_printf
(
p
,
" %s"
,
action
->
name
);
for
(
action
=
action
->
next
;
action
;
action
=
action
->
next
)
seq_printf
(
p
,
", %s"
,
action
->
name
);
seq_putc
(
p
,
'\n'
);
unlock:
raw_spin_unlock_irqrestore
(
&
desc
->
lock
,
flags
);
}
else
if
(
i
==
nr_irqs
)
{
seq_printf
(
p
,
"Error in interrupt!
\n
"
);
}
return
0
;
}
/*
* do_IRQ handles all hardware IRQ's. Decoded IRQs should not
* come via this function. Instead, they should provide their
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment