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
9f7b2187
Commit
9f7b2187
authored
Mar 24, 2011
by
Thomas Gleixner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h8300: Use generic show_interrupts()
Signed-off-by:
Thomas Gleixner
<
tglx@linutronix.de
>
parent
7b04690a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
31 deletions
+1
-31
arch/h8300/Kconfig
arch/h8300/Kconfig
+1
-0
arch/h8300/kernel/irq.c
arch/h8300/kernel/irq.c
+0
-31
No files found.
arch/h8300/Kconfig
View file @
9f7b2187
...
...
@@ -4,6 +4,7 @@ config H8300
select HAVE_IDE
select HAVE_GENERIC_HARDIRQS
select GENERIC_HARDIRQS_NO_DEPRECATED
select GENERIC_IRQ_SHOW
config SYMBOL_PREFIX
string
...
...
arch/h8300/kernel/irq.c
View file @
9f7b2187
...
...
@@ -164,34 +164,3 @@ asmlinkage void do_IRQ(int irq)
generic_handle_irq
(
irq
);
irq_exit
();
}
#if defined(CONFIG_PROC_FS)
int
show_interrupts
(
struct
seq_file
*
p
,
void
*
v
)
{
int
i
=
*
(
loff_t
*
)
v
;
struct
irqaction
*
action
;
unsigned
long
flags
;
if
(
i
==
0
)
seq_puts
(
p
,
" CPU0"
);
if
(
i
<
NR_IRQS
)
{
raw_spin_lock_irqsave
(
&
irq_desc
[
i
].
lock
,
flags
);
action
=
irq_desc
[
i
].
action
;
if
(
!
action
)
goto
unlock
;
seq_printf
(
p
,
"%3d: "
,
i
);
seq_printf
(
p
,
"%10u "
,
kstat_irqs
(
i
));
seq_printf
(
p
,
" %14s"
,
irq_desc
[
i
].
irq_data
.
chip
->
name
);
seq_printf
(
p
,
"-%-8s"
,
irq_desc
[
i
].
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
(
&
irq_desc
[
i
].
lock
,
flags
);
}
return
0
;
}
#endif
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