mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-17 03:39:07 +08:00
parisc: Add defines for various space register
Provide defines for space registers (SR_KERNEL, SR_USER, ...) which should be used instead of hardcoding the values. Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
@@ -47,6 +47,12 @@
|
||||
#define PRIV_USER 3
|
||||
#define PRIV_KERNEL 0
|
||||
|
||||
/* Space register used inside kernel */
|
||||
#define SR_KERNEL 0
|
||||
#define SR_TEMP1 1
|
||||
#define SR_TEMP2 2
|
||||
#define SR_USER 3
|
||||
|
||||
#ifdef __ASSEMBLY__
|
||||
|
||||
#ifdef CONFIG_64BIT
|
||||
|
||||
Reference in New Issue
Block a user