parisc: Define FRAME_ALIGN and PRIV_USER/PRIV_KERNEL in assembly.h
authorHelge Deller <deller@gmx.de>
Mon, 4 Oct 2021 21:36:50 +0000 (23:36 +0200)
committerHelge Deller <deller@gmx.de>
Sat, 30 Oct 2021 21:11:01 +0000 (23:11 +0200)
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/assembly.h

index a39250c..365c285 100644 (file)
@@ -42,6 +42,9 @@
 #define ASM_ULONG_INSN .word
 #endif
 
+/* Frame alignment for 32- and 64-bit */
+#define FRAME_ALIGN     64
+
 #define CALLEE_SAVE_FRAME_SIZE (CALLEE_REG_FRAME_SIZE + CALLEE_FLOAT_FRAME_SIZE)
 
 #ifdef CONFIG_PA20
 #define PA_ASM_LEVEL   1.1
 #endif
 
+/* Privilege level field in the rightmost two bits of the IA queues */
+#define PRIV_USER      3
+#define PRIV_KERNEL    0
+
 #ifdef __ASSEMBLY__
 
 #ifdef CONFIG_64BIT