lkml.org 
[lkml]   [2026]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] x86/kvm: Include linux/types.h in asm/kvm_para.h
From
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>


\
 
 \ /
  Last update: 2026-05-05 10:03    [W:0.049 / U:21.537 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog