]> git.baikalelectronics.ru Git - kernel.git/commit
x86/entry: Add compatibility with IAS
authorJian Cai <caij2003@gmail.com>
Tue, 14 Jul 2020 23:30:21 +0000 (16:30 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 16 Jul 2020 15:25:09 +0000 (17:25 +0200)
commitb1c061352702f5336253c65ba44b141c940e3e4e
treeabb7da7932664cac251ad817628884ea1363d55d
parentff4a7470dcefe6c80e1cbf37b3bcbf9d0937c9d7
x86/entry: Add compatibility with IAS

Clang's integrated assembler does not allow symbols with non-absolute
values to be reassigned. Modify the interrupt entry loop macro to be
compatible with IAS by using a label and an offset.

Reported-by: Nick Desaulniers <ndesaulniers@google.com>
Reported-by: Sedat Dilek <sedat.dilek@gmail.com>
Suggested-by: Nick Desaulniers <ndesaulniers@google.com>
Suggested-by: Brian Gerst <brgerst@gmail.com>
Suggested-by: Arvind Sankar <nivedita@alum.mit.edu>
Signed-off-by: Jian Cai <caij2003@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com> #
Link: https://github.com/ClangBuiltLinux/linux/issues/1043
Link: https://lkml.kernel.org/r/20200714233024.1789985-1-caij2003@gmail.com
arch/x86/include/asm/idtentry.h