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
8eea8a6a
Commit
8eea8a6a
authored
Sep 21, 2012
by
Jonas Bonn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
openrisc: fix typos in comments and warnings
Signed-off-by:
Jonas Bonn
<
jonas@southpole.se
>
parent
f248ef1c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
arch/openrisc/kernel/irq.c
arch/openrisc/kernel/irq.c
+3
-3
No files found.
arch/openrisc/kernel/irq.c
View file @
8eea8a6a
...
...
@@ -58,7 +58,7 @@ static void or1k_pic_ack(struct irq_data *data)
{
/* EDGE-triggered interrupts need to be ack'ed in order to clear
* the latch.
* LEVE
R
-triggered interrupts do not need to be ack'ed; however,
* LEVE
L
-triggered interrupts do not need to be ack'ed; however,
* ack'ing the interrupt has no ill-effect and is quicker than
* trying to figure out what type it is...
*/
...
...
@@ -77,7 +77,7 @@ static void or1k_pic_ack(struct irq_data *data)
mtspr
(
SPR_PICSR
,
mfspr
(
SPR_PICSR
)
&
~
(
1UL
<<
data
->
hwirq
));
#else
WARN
(
1
,
"Interrupt handling possib
i
ly broken
\n
"
);
WARN
(
1
,
"Interrupt handling possibly broken
\n
"
);
mtspr
(
SPR_PICSR
,
(
1UL
<<
data
->
hwirq
));
#endif
}
...
...
@@ -89,7 +89,7 @@ static void or1k_pic_mask_ack(struct irq_data *data)
#ifdef CONFIG_OR1K_1200
mtspr
(
SPR_PICSR
,
mfspr
(
SPR_PICSR
)
&
~
(
1UL
<<
data
->
hwirq
));
#else
WARN
(
1
,
"Interrupt handling possib
i
ly broken
\n
"
);
WARN
(
1
,
"Interrupt handling possibly broken
\n
"
);
mtspr
(
SPR_PICSR
,
(
1UL
<<
data
->
hwirq
));
#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