ANDROID: qki: Add hidden config option for RCUTORTURE
Add hidden configuration for RCUTORTURE module so they can be enabled through GKI_HIDDEN configurations required for some debug related defconfigs. Bug: 191628908 Change-Id: I3f0056fa22b01902ff2b0a6d2edae4fafbc8aa86 Signed-off-by: Elliot Berman <eberman@codeaurora.org> Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
This commit is contained in:
parent
6bc1235c7a
commit
32e60300df
@ -2397,3 +2397,4 @@ config ARCH_HAS_SYSCALL_WRAPPER
|
||||
def_bool n
|
||||
|
||||
source "init/Kconfig.gki"
|
||||
source "init/Kconfig.gki-debug"
|
||||
|
9
init/Kconfig.gki-debug
Normal file
9
init/Kconfig.gki-debug
Normal file
@ -0,0 +1,9 @@
|
||||
config GKI_HIDDEN_RCUTORTURE
|
||||
bool
|
||||
select TASKS_RUDE_RCU
|
||||
|
||||
config GKI_HACKS_FOR_DEBUG_CONFIG
|
||||
bool "GKI Dummy config options for debug configurations"
|
||||
select TRACE_PREEMPT_TOGGLE
|
||||
select TRACE_IRQFLAGS
|
||||
select GKI_HIDDEN_RCUTORTURE
|
@ -478,7 +478,8 @@ EXPORT_SYMBOL_GPL(do_trace_rcu_torture_read);
|
||||
do { } while (0)
|
||||
#endif
|
||||
|
||||
#if IS_ENABLED(CONFIG_RCU_TORTURE_TEST) || IS_MODULE(CONFIG_RCU_TORTURE_TEST)
|
||||
#if IS_ENABLED(CONFIG_RCU_TORTURE_TEST) || IS_MODULE(CONFIG_RCU_TORTURE_TEST) \
|
||||
|| IS_ENABLED(CONFIG_GKI_HIDDEN_RCUTORTURE)
|
||||
/* Get rcutorture access to sched_setaffinity(). */
|
||||
long rcutorture_sched_setaffinity(pid_t pid, const struct cpumask *in_mask)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user