Merge tag 'asm-generic-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd...
[sfrench/cifs-2.6.git] / arch / xtensa / include / asm / processor.h
index 37d3e9887fe7b8e3af67076160048529005d73a7..abad7c3df46f1e883a500ace322d69f05dd2179e 100644 (file)
  */
 #define SPILL_SLOT_CALL12(sp, reg) (*(((unsigned long *)(sp)) - 16 + (reg)))
 
-typedef struct {
-       unsigned long seg;
-} mm_segment_t;
-
 struct thread_struct {
 
        /* kernel's return address and stack pointer for context switching */
        unsigned long ra; /* kernel's a0: return address and window call size */
        unsigned long sp; /* kernel's a1: stack pointer */
 
-       mm_segment_t current_ds;    /* see uaccess.h for example uses */
-
        /* struct xtensa_cpuinfo info; */
 
        unsigned long bad_vaddr; /* last user fault */
@@ -186,7 +180,6 @@ struct thread_struct {
 {                                                                      \
        ra:             0,                                              \
        sp:             sizeof(init_stack) + (long) &init_stack,        \
-       current_ds:     {0},                                            \
        /*info:         {0}, */                                         \
        bad_vaddr:      0,                                              \
        bad_uaddr:      0,                                              \