diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-05-03 12:58:31 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-05-03 12:58:31 -0700 |
commit | cda689f8708b6bef0b921c3a17fcdecbe959a079 (patch) | |
tree | 63d6c33f72a6672a6fcf93ab3c59a6b94e7da6a0 /arch/csky/include/asm/segment.h | |
parent | d835ff6c96ae6fa1ea474b0290a46e514ab6742b (diff) | |
parent | e58a41c2226847fb1446f3942dc1b55af8acfe02 (diff) |
Merge tag 'csky-for-linus-5.13-rc1' of git://github.com/c-sky/csky-linux
Pull arch/csky updates from Guo Ren:
"Just cleanups"
* tag 'csky-for-linus-5.13-rc1' of git://github.com/c-sky/csky-linux:
csky: uaccess.h: Coding convention with asm generic
csky: fix syscache.c fallthrough warning
csky: Fixup typos
csky: Remove duplicate include in arch/csky/kernel/entry.S
Diffstat (limited to 'arch/csky/include/asm/segment.h')
-rw-r--r-- | arch/csky/include/asm/segment.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/csky/include/asm/segment.h b/arch/csky/include/asm/segment.h index 589e8321dc14..5bc1cc62b87f 100644 --- a/arch/csky/include/asm/segment.h +++ b/arch/csky/include/asm/segment.h @@ -7,11 +7,4 @@ typedef struct { unsigned long seg; } mm_segment_t; -#define KERNEL_DS ((mm_segment_t) { 0xFFFFFFFF }) - -#define USER_DS ((mm_segment_t) { PAGE_OFFSET }) -#define get_fs() (current_thread_info()->addr_limit) -#define set_fs(x) (current_thread_info()->addr_limit = (x)) -#define uaccess_kernel() (get_fs().seg == KERNEL_DS.seg) - #endif /* __ASM_CSKY_SEGMENT_H */ |