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
a963dc70
Commit
a963dc70
authored
Feb 27, 2010
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MIPS: Malta: Convert IRQ controller lock to raw spinlock.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
ed14bbb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
arch/mips/mti-malta/malta-int.c
arch/mips/mti-malta/malta-int.c
+3
-3
No files found.
arch/mips/mti-malta/malta-int.c
View file @
a963dc70
...
@@ -52,7 +52,7 @@ static unsigned long _msc01_biu_base;
...
@@ -52,7 +52,7 @@ static unsigned long _msc01_biu_base;
static
unsigned
long
_gcmp_base
;
static
unsigned
long
_gcmp_base
;
static
unsigned
int
ipi_map
[
NR_CPUS
];
static
unsigned
int
ipi_map
[
NR_CPUS
];
static
DEFINE_SPINLOCK
(
mips_irq_lock
);
static
DEFINE_
RAW_
SPINLOCK
(
mips_irq_lock
);
static
inline
int
mips_pcibios_iack
(
void
)
static
inline
int
mips_pcibios_iack
(
void
)
{
{
...
@@ -103,7 +103,7 @@ static inline int get_int(void)
...
@@ -103,7 +103,7 @@ static inline int get_int(void)
{
{
unsigned
long
flags
;
unsigned
long
flags
;
int
irq
;
int
irq
;
spin_lock_irqsave
(
&
mips_irq_lock
,
flags
);
raw_
spin_lock_irqsave
(
&
mips_irq_lock
,
flags
);
irq
=
mips_pcibios_iack
();
irq
=
mips_pcibios_iack
();
...
@@ -113,7 +113,7 @@ static inline int get_int(void)
...
@@ -113,7 +113,7 @@ static inline int get_int(void)
* on an SMP system, so leave it up to the generic code...
* on an SMP system, so leave it up to the generic code...
*/
*/
spin_unlock_irqrestore
(
&
mips_irq_lock
,
flags
);
raw_
spin_unlock_irqrestore
(
&
mips_irq_lock
,
flags
);
return
irq
;
return
irq
;
}
}
...
...
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