1 From 1829dda0e87f4462782ca81be474c7890efe31ce Mon Sep 17 00:00:00 2001
2 From: Helge Deller <deller@gmx.de>
3 Date: Sun, 5 May 2019 23:54:34 +0200
4 Subject: parisc: Rename LEVEL to PA_ASM_LEVEL to avoid name clash with DRBD code
6 From: Helge Deller <deller@gmx.de>
8 commit 1829dda0e87f4462782ca81be474c7890efe31ce upstream.
10 LEVEL is a very common word, and now after many years it suddenly
11 clashed with another LEVEL define in the DRBD code.
12 Rename it to PA_ASM_LEVEL instead.
14 Reported-by: kbuild test robot <lkp@intel.com>
15 Signed-off-by: Helge Deller <deller@gmx.de>
16 Cc: <stable@vger.kernel.org>
17 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
20 arch/parisc/include/asm/assembly.h | 6 +++---
21 arch/parisc/kernel/head.S | 4 ++--
22 arch/parisc/kernel/syscall.S | 2 +-
23 3 files changed, 6 insertions(+), 6 deletions(-)
25 --- a/arch/parisc/include/asm/assembly.h
26 +++ b/arch/parisc/include/asm/assembly.h
32 +# define PA_ASM_LEVEL 2.0w
35 +# define PA_ASM_LEVEL 2.0
41 +#define PA_ASM_LEVEL 1.1
45 --- a/arch/parisc/kernel/head.S
46 +++ b/arch/parisc/kernel/head.S
48 #include <linux/linkage.h>
49 #include <linux/init.h>
56 @@ -245,7 +245,7 @@ stext_pdc_ret:
57 ldo R%PA(fault_vector_11)(%r10),%r10
60 - .level LEVEL /* restore 1.1 || 2.0w */
61 + .level PA_ASM_LEVEL /* restore 1.1 || 2.0w */
62 #endif /*!CONFIG_64BIT*/
63 load32 PA(fault_vector_20),%r10
65 --- a/arch/parisc/kernel/syscall.S
66 +++ b/arch/parisc/kernel/syscall.S
67 @@ -48,7 +48,7 @@ registers).
69 #define KILL_INSN break 0,0