Commit cfedf08b authored by Max Filippov's avatar Max Filippov
Browse files

xtensa: nommu: fix USER_RING definition

There's no kernel/user separation in noMMU and PS.RING may not exist.
Even if it exists it should not be used because TLB entries are not set
up for user ring on user pages.
Signed-off-by: default avatarMax Filippov <>
parent b85d4594
......@@ -18,7 +18,11 @@
* We only use two ring levels, user and kernel space.
#define USER_RING 1 /* user ring level */
#define USER_RING 0
#define KERNEL_RING 0 /* kernel ring level */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment