csky: uaccess.h: Coding convention with asm generic
[linux-2.6-microblaze.git] / arch / csky / include / asm / segment.h
index 589e832..5bc1cc6 100644 (file)
@@ -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 */