mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
ANDROID: KVM: arm64: Fix build with CONFIG_MODULES=n
The recently introduced support for pKVM modules has clearly lacked a bit of testing with CONFIG_MODULES=n. Fix the broken __pkvm_init_module() stub to make the bots happy. Bug: 244543039 Bug: 244373730 Reported-by: kernel test robot <lkp@intel.com> Change-Id: Ie59cbf46442721de78ef51523debadc4c156530e Signed-off-by: Quentin Perret <qperret@google.com>
This commit is contained in:
@@ -12,7 +12,7 @@ void pkvm_modules_unlock(void);
|
||||
bool pkvm_modules_enabled(void);
|
||||
int __pkvm_close_module_registration(void);
|
||||
#else
|
||||
static inline int __pkvm_init_module(void *module_init); { return -EOPNOTSUPP; }
|
||||
static inline int __pkvm_init_module(void *module_init) { return -EOPNOTSUPP; }
|
||||
static inline int
|
||||
__pkvm_register_hcall(unsigned long hfn_hyp_va) { return -EOPNOTSUPP; }
|
||||
static inline int handle_host_dynamic_hcall(struct kvm_cpu_context *host_ctxt)
|
||||
|
||||
Reference in New Issue
Block a user