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
4b006a3b
Commit
4b006a3b
authored
Oct 03, 2004
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Add "noirqdebug" option to match x86 option.
parent
a6dae6ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
arch/arm/kernel/irq.c
arch/arm/kernel/irq.c
+10
-1
No files found.
arch/arm/kernel/irq.c
View file @
4b006a3b
...
...
@@ -46,6 +46,7 @@
*/
#define MAX_IRQ_CNT 100000
static
int
noirqdebug
;
static
volatile
unsigned
long
irq_err_count
;
static
spinlock_t
irq_controller_lock
=
SPIN_LOCK_UNLOCKED
;
static
LIST_HEAD
(
irq_pending
);
...
...
@@ -235,7 +236,7 @@ report_bad_irq(unsigned int irq, struct pt_regs *regs, struct irqdesc *desc, int
static
int
count
=
100
;
struct
irqaction
*
action
;
if
(
!
count
)
if
(
!
count
||
noirqdebug
)
return
;
count
--
;
...
...
@@ -863,3 +864,11 @@ void __init init_IRQ(void)
init_arch_irq
();
init_dma
();
}
static
int
__init
noirqdebug_setup
(
char
*
str
)
{
noirqdebug
=
1
;
return
1
;
}
__setup
(
"noirqdebug"
,
noirqdebug_setup
);
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