summaryrefslogtreecommitdiff
path: root/arch/xtensa/include/asm/irqflags.h
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2018-11-28 03:27:47 +0300
committerMax Filippov <jcmvbkbc@gmail.com>2018-12-05 01:08:11 +0300
commitcad6fade6e78030e60188da3f18090577daa9243 (patch)
tree4e2a429c4ba70161706227a3b195832201617ffd /arch/xtensa/include/asm/irqflags.h
parentc066cc8af9de8f749d29f75ad8c1c37d565f32b7 (diff)
downloadlinux-cad6fade6e78030e60188da3f18090577daa9243.tar.xz
xtensa: clean up WSR*/RSR*/get_sr/set_sr
WSR and RSR are too generic and collide with other macro definitions in the kernel causing warnings in allmodconfig builds. Drop WSR and RSR macros and WSR_* and RSR_* variants. Change get_sr and set_sr to xtensa_get_sr and xtensa_set_sr. Fix up users. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/include/asm/irqflags.h')
-rw-r--r--arch/xtensa/include/asm/irqflags.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/xtensa/include/asm/irqflags.h b/arch/xtensa/include/asm/irqflags.h
index 407606e576f8..9b5e8526afe5 100644
--- a/arch/xtensa/include/asm/irqflags.h
+++ b/arch/xtensa/include/asm/irqflags.h
@@ -12,6 +12,7 @@
#ifndef _XTENSA_IRQFLAGS_H
#define _XTENSA_IRQFLAGS_H
+#include <linux/stringify.h>
#include <linux/types.h>
#include <asm/processor.h>