The use of 'struct static_key' and 'static_key_false' is
deprecated. Use the new API.
mmu_audit_key can only be true or false so it would be nice to use
static_branch_enable()/static_branch_disable() for it and not
static_key_slow_inc()/static_key_slow_dec().
Signed-off-by: C
Sorry for my late reply. Several final exams have delayed me these days.
Thank you for your detailed advice!
The use of 'struct static_key' and 'static_key_false' is
deprecated. Use the new API.
Signed-off-by: Cun Li
---
arch/x86/kvm/lapic.h | 6 +++---
arch/x86/kvm/mmu/mmu_audit.c | 4 ++--
arch/x86/kvm/x86.c | 2 +-
3 files changed, 6 insertions(+), 6 deleti
3 matches
Mail list logo