lkml.org 
[lkml]   [2018]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 2/4] x86/nospec: Fix header guards names
    Date
    From: Borislav Petkov <bp@suse.de>

    ... to adhere to the _ASM_X86_ naming scheme.

    No functionality change.

    Signed-off-by: Borislav Petkov <bp@suse.de>
    ---
    arch/x86/include/asm/nospec-branch.h | 6 +++---
    1 file changed, 3 insertions(+), 3 deletions(-)

    diff --git a/arch/x86/include/asm/nospec-branch.h b/arch/x86/include/asm/nospec-branch.h
    index 4ad41087ce0e..33a35daf6c4d 100644
    --- a/arch/x86/include/asm/nospec-branch.h
    +++ b/arch/x86/include/asm/nospec-branch.h
    @@ -1,7 +1,7 @@
    /* SPDX-License-Identifier: GPL-2.0 */

    -#ifndef __NOSPEC_BRANCH_H__
    -#define __NOSPEC_BRANCH_H__
    +#ifndef _ASM_X86_NOSPEC_BRANCH_H_
    +#define _ASM_X86_NOSPEC_BRANCH_H_

    #include <asm/alternative.h>
    #include <asm/alternative-asm.h>
    @@ -219,4 +219,4 @@ static inline void vmexit_fill_RSB(void)
    }

    #endif /* __ASSEMBLY__ */
    -#endif /* __NOSPEC_BRANCH_H__ */
    +#endif /* _ASM_X86_NOSPEC_BRANCH_H_ */
    --
    2.13.0
    \
     
     \ /
      Last update: 2018-01-26 13:13    [W:4.131 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site