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
b2c870be
Commit
b2c870be
authored
Mar 16, 2003
by
Paul Mackerras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PPC32: Don't reregister existing /proc/irq entries.
parent
a37cbed3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
arch/ppc/kernel/irq.c
arch/ppc/kernel/irq.c
+2
-2
No files found.
arch/ppc/kernel/irq.c
View file @
b2c870be
...
@@ -375,7 +375,7 @@ int show_interrupts(struct seq_file *p, void *v)
...
@@ -375,7 +375,7 @@ int show_interrupts(struct seq_file *p, void *v)
seq_printf
(
p
,
"%s"
,
(
irq_desc
[
i
].
status
&
IRQ_LEVEL
)
?
"Level "
:
"Edge "
);
seq_printf
(
p
,
"%s"
,
(
irq_desc
[
i
].
status
&
IRQ_LEVEL
)
?
"Level "
:
"Edge "
);
seq_printf
(
p
,
" %s"
,
action
->
name
);
seq_printf
(
p
,
" %s"
,
action
->
name
);
for
(
action
=
action
->
next
;
action
;
action
=
action
->
next
)
for
(
action
=
action
->
next
;
action
;
action
=
action
->
next
)
seq_printf
(
p
,
", %s"
,
action
->
name
);
seq_printf
(
p
,
", %s"
,
action
->
name
);
seq_putc
(
p
,
'\n'
);
seq_putc
(
p
,
'\n'
);
skip:
skip:
spin_unlock_irqrestore
(
&
irq_desc
[
i
].
lock
,
flags
);
spin_unlock_irqrestore
(
&
irq_desc
[
i
].
lock
,
flags
);
...
@@ -684,7 +684,7 @@ static void register_irq_proc (unsigned int irq)
...
@@ -684,7 +684,7 @@ static void register_irq_proc (unsigned int irq)
struct
proc_dir_entry
*
entry
;
struct
proc_dir_entry
*
entry
;
char
name
[
MAX_NAMELEN
];
char
name
[
MAX_NAMELEN
];
if
(
!
root_irq_dir
||
(
irq_desc
[
irq
].
handler
==
NULL
))
if
(
!
root_irq_dir
||
(
irq_desc
[
irq
].
handler
==
NULL
)
||
irq_dir
[
irq
]
)
return
;
return
;
memset
(
name
,
0
,
MAX_NAMELEN
);
memset
(
name
,
0
,
MAX_NAMELEN
);
...
...
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