mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-06 03:45:24 -04:00
ANDROID: Fix wq fp check for CFI builds
A previous change added a test on the wrong config flag; rename CFI to CFI_CLANG. Bug: 145210207 Change-Id: Id8aead2eb2c75ad6442d10165f6cb86ccfb9c2f9 Signed-off-by: Alistair Delva <adelva@google.com>
This commit is contained in:
parent
bbff2f1909
commit
2a3049590d
1 changed files with 1 additions and 1 deletions
|
|
@ -1627,7 +1627,7 @@ static void __queue_delayed_work(int cpu, struct workqueue_struct *wq,
|
|||
struct work_struct *work = &dwork->work;
|
||||
|
||||
WARN_ON_ONCE(!wq);
|
||||
#ifndef CONFIG_CFI
|
||||
#ifndef CONFIG_CFI_CLANG
|
||||
WARN_ON_ONCE(timer->function != delayed_work_timer_fn);
|
||||
#endif
|
||||
WARN_ON_ONCE(timer_pending(timer));
|
||||
|
|
|
|||
Loading…
Reference in a new issue