Go to the documentation of this file. 1 #ifndef _ASM_SCORE_SEGMENT_H
2 #define _ASM_SCORE_SEGMENT_H
10 #define KERNEL_DS ((mm_segment_t){0})
11 #define USER_DS KERNEL_DS
13 # define get_ds() (KERNEL_DS)
14 # define get_fs() (current_thread_info()->addr_limit)
16 do { current_thread_info()->addr_limit = (x); } while (0)
18 # define segment_eq(a, b) ((a).seg == (b).seg)