mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
Pull arm64 build fix from Catalin Marinas: "Fix kernel build with clang LTO after the inclusion of the Spectre BHB arm64 mitigations" * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: arm64: Do not include __READ_ONCE() block in assembly files
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
#ifndef __ASM_RWONCE_H
|
#ifndef __ASM_RWONCE_H
|
||||||
#define __ASM_RWONCE_H
|
#define __ASM_RWONCE_H
|
||||||
|
|
||||||
#ifdef CONFIG_LTO
|
#if defined(CONFIG_LTO) && !defined(__ASSEMBLY__)
|
||||||
|
|
||||||
#include <linux/compiler_types.h>
|
#include <linux/compiler_types.h>
|
||||||
#include <asm/alternative-macros.h>
|
#include <asm/alternative-macros.h>
|
||||||
@@ -66,7 +66,7 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
#endif /* !BUILD_VDSO */
|
#endif /* !BUILD_VDSO */
|
||||||
#endif /* CONFIG_LTO */
|
#endif /* CONFIG_LTO && !__ASSEMBLY__ */
|
||||||
|
|
||||||
#include <asm-generic/rwonce.h>
|
#include <asm-generic/rwonce.h>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user