Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 322728e5 authored by Paul Gortmaker's avatar Paul Gortmaker Committed by Avi Kivity
Browse files

KVM: make asm-generic/kvm_para.h have an ifdef __KERNEL__ block



There are two functions in this asm-generic file.  Looking at
other arch which do not use the generic version, these two fcns
are within an #ifdef __KERNEL__ block, so make the generic one
consistent with those.

Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 46a6dd1c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
#ifndef _ASM_GENERIC_KVM_PARA_H
#define _ASM_GENERIC_KVM_PARA_H

#ifdef __KERNEL__

/*
 * This function is used by architectures that support kvm to avoid issuing
@@ -16,4 +17,6 @@ static inline unsigned int kvm_arch_para_features(void)
	return 0;
}

#endif	/* _KERNEL__ */

#endif