Skip to content

Commit 1829dda

Browse files
committed
parisc: Rename LEVEL to PA_ASM_LEVEL to avoid name clash with DRBD code
LEVEL is a very common word, and now after many years it suddenly clashed with another LEVEL define in the DRBD code. Rename it to PA_ASM_LEVEL instead. Reported-by: kbuild test robot <lkp@intel.com> Signed-off-by: Helge Deller <deller@gmx.de> Cc: <stable@vger.kernel.org>
1 parent 11c03dc commit 1829dda

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎arch/parisc/include/asm/assembly.h‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@
6161
#define LDCW ldcw,co
6262
#define BL b,l
6363
# ifdef CONFIG_64BIT
64-
# define LEVEL 2.0w
64+
# define PA_ASM_LEVEL 2.0w
6565
# else
66-
# define LEVEL 2.0
66+
# define PA_ASM_LEVEL 2.0
6767
# endif
6868
#else
6969
#define LDCW ldcw
7070
#define BL bl
71-
#define LEVEL 1.1
71+
#define PA_ASM_LEVEL 1.1
7272
#endif
7373

7474
#ifdef __ASSEMBLY__

‎arch/parisc/kernel/head.S‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include <linux/linkage.h>
2323
#include <linux/init.h>
2424

25-
.level LEVEL
25+
.level PA_ASM_LEVEL
2626

2727
__INITDATA
2828
ENTRY(boot_args)
@@ -258,7 +258,7 @@ stext_pdc_ret:
258258
ldo R%PA(fault_vector_11)(%r10),%r10
259259

260260
$is_pa20:
261-
.level LEVEL /* restore 1.1 || 2.0w */
261+
.level PA_ASM_LEVEL /* restore 1.1 || 2.0w */
262262
#endif /*!CONFIG_64BIT*/
263263
load32 PA(fault_vector_20),%r10
264264

‎arch/parisc/kernel/syscall.S‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ registers).
4848
*/
4949
#define KILL_INSN break 0,0
5050

51-
.level LEVEL
51+
.level PA_ASM_LEVEL
5252

5353
.text
5454

0 commit comments

Comments
 (0)