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
2ba53e37
Commit
2ba53e37
authored
Feb 27, 2010
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MIPS: IP27: Remove code obfuscation by enter_panic_mode().
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
34ee4148
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
arch/mips/sgi-ip27/ip27-nmi.c
arch/mips/sgi-ip27/ip27-nmi.c
+2
-3
No files found.
arch/mips/sgi-ip27/ip27-nmi.c
View file @
2ba53e37
...
@@ -17,7 +17,6 @@
...
@@ -17,7 +17,6 @@
#endif
#endif
#define CNODEID_NONE (cnodeid_t)-1
#define CNODEID_NONE (cnodeid_t)-1
#define enter_panic_mode() spin_lock(&nmi_lock)
typedef
unsigned
long
machreg_t
;
typedef
unsigned
long
machreg_t
;
...
@@ -193,9 +192,9 @@ cont_nmi_dump(void)
...
@@ -193,9 +192,9 @@ cont_nmi_dump(void)
atomic_inc
(
&
nmied_cpus
);
atomic_inc
(
&
nmied_cpus
);
#endif
#endif
/*
/*
*
Use enter_panic_mode to allow only
1 cpu to proceed
*
Only allow
1 cpu to proceed
*/
*/
enter_panic_mode
(
);
spin_lock
(
&
nmi_lock
);
#ifdef REAL_NMI_SIGNAL
#ifdef REAL_NMI_SIGNAL
/*
/*
...
...
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