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
3141f734
Commit
3141f734
authored
Feb 15, 2012
by
Andy Whitcroft
Committed by
Tim Gardner
Feb 25, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UBUNTU: SAUCE: allow IRQs to be irq-threaded by default via config
Signed-off-by:
Andy Whitcroft
<
apw@canonical.com
>
parent
8cbd7475
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
kernel/irq/Kconfig
kernel/irq/Kconfig
+4
-0
kernel/irq/manage.c
kernel/irq/manage.c
+7
-1
No files found.
kernel/irq/Kconfig
View file @
3141f734
...
...
@@ -91,6 +91,10 @@ config IRQ_DOMAIN_DEBUG
config IRQ_FORCED_THREADING
bool
config IRQ_FORCED_THREADING_DEFAULT
bool "Use IRQ threading by default"
depends on IRQ_FORCED_THREADING
config SPARSE_IRQ
bool "Support sparse irq numbering" if MAY_HAVE_SPARSE_IRQ
---help---
...
...
kernel/irq/manage.c
View file @
3141f734
...
...
@@ -22,14 +22,20 @@
#include "internals.h"
#ifdef CONFIG_IRQ_FORCED_THREADING
__read_mostly
bool
force_irqthreads
;
__read_mostly
bool
force_irqthreads
=
IS_ENABLED
(
CONFIG_IRQ_FORCED_THREADING_DEFAULT
)
;
static
int
__init
setup_forced_irqthreads
(
char
*
arg
)
{
force_irqthreads
=
true
;
return
0
;
}
static
int
__init
setup_no_irqthreads
(
char
*
arg
)
{
force_irqthreads
=
false
;
return
0
;
}
early_param
(
"threadirqs"
,
setup_forced_irqthreads
);
early_param
(
"nothreadirqs"
,
setup_no_irqthreads
);
#endif
static
void
__synchronize_hardirq
(
struct
irq_desc
*
desc
)
...
...
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