Skip to content

Commit

Permalink
parisc: Define FRAME_ALIGN and PRIV_USER/PRIV_KERNEL in assembly.h
Browse files Browse the repository at this point in the history
Signed-off-by: Helge Deller <deller@gmx.de>
  • Loading branch information
Helge Deller committed Oct 30, 2021
1 parent 1030d68 commit 9f6cfef
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions arch/parisc/include/asm/assembly.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -58,6 +61,10 @@
#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
Expand Down

0 comments on commit 9f6cfef

Please sign in to comment.