lkml.org 
[lkml]   [2020]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[tip: x86/cleanups] x86/entry/64: Do not include inst.h in calling.h
    The following commit has been merged into the x86/cleanups branch of tip:

    Commit-ID: eb3621798bcdd34ba480109bac357ba6a784d3e2
    Gitweb: https://git.kernel.org/tip/eb3621798bcdd34ba480109bac357ba6a784d3e2
    Author: Uros Bizjak <ubizjak@gmail.com>
    AuthorDate: Thu, 27 Aug 2020 19:17:35 +02:00
    Committer: Borislav Petkov <bp@suse.de>
    CommitterDate: Fri, 04 Sep 2020 10:59:21 +02:00

    x86/entry/64: Do not include inst.h in calling.h

    inst.h was included in calling.h solely to instantiate the RDPID macro.
    The usage of RDPID was removed in

    6a3ea3e68b8a ("x86/entry/64: Do not use RDPID in paranoid entry to accomodate KVM")

    so remove the include.

    Fixes: 6a3ea3e68b8a ("x86/entry/64: Do not use RDPID in paranoid entry to accomodate KVM")
    Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
    Signed-off-by: Borislav Petkov <bp@suse.de>
    Link: https://lkml.kernel.org/r/20200827171735.93825-1-ubizjak@gmail.com
    ---
    arch/x86/entry/calling.h | 1 -
    1 file changed, 1 deletion(-)

    diff --git a/arch/x86/entry/calling.h b/arch/x86/entry/calling.h
    index ae9b0d4..07a9331 100644
    --- a/arch/x86/entry/calling.h
    +++ b/arch/x86/entry/calling.h
    @@ -6,7 +6,6 @@
    #include <asm/percpu.h>
    #include <asm/asm-offsets.h>
    #include <asm/processor-flags.h>
    -#include <asm/inst.h>

    /*

    \
     
     \ /
      Last update: 2020-09-04 11:05    [W:3.501 / U:0.164 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site