Messages in this thread |  | | Date | Tue, 5 May 2026 10:02:59 +0200 | | Subject | Re: [PATCH] x86/kvm: Include linux/types.h in asm/kvm_para.h | | From | Thomas Huth <> |
| |
On 05/05/2026 08.58, WEI-HONG, YE wrote: > arch/x86/include/asm/kvm_para.h uses u32 in function declarations, but > does not include linux/types.h itself. One user, mtrr.c, carried an > explicit workaround for this dependency. > > Include linux/types.h from asm/kvm_para.h and remove the workaround from > mtrr.c. > > Build-tested with x86_64 defconfig. > > Signed-off-by: WEI-HONG, YE <1234567weewee457@gmail.com> > --- > arch/x86/include/asm/kvm_para.h | 2 ++ > arch/x86/kernel/cpu/mtrr/mtrr.c | 2 -- > 2 files changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Thomas Huth <thuth@redhat.com>
|  |