kernel: restrict irq_offload() to test cases
This API was only created to facilitate testing of kernel objects in IRQ context, never for actual applications. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
a63c937471
commit
beba1e0a84
1 changed files with 3 additions and 1 deletions
|
@ -316,9 +316,11 @@ config GEN_IRQ_START_VECTOR
|
||||||
|
|
||||||
config IRQ_OFFLOAD
|
config IRQ_OFFLOAD
|
||||||
bool "Enable IRQ offload"
|
bool "Enable IRQ offload"
|
||||||
|
depends on TEST
|
||||||
help
|
help
|
||||||
Enable irq_offload() API which allows functions to be synchronously
|
Enable irq_offload() API which allows functions to be synchronously
|
||||||
run in interrupt context. Mainly useful for test cases.
|
run in interrupt context. Only useful for test cases that need
|
||||||
|
to validate the correctness of kernel objects in IRQ context.
|
||||||
|
|
||||||
endmenu # Interrupt configuration
|
endmenu # Interrupt configuration
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue