OSDN Git Service

rx: remove segment.
authorYoshinori Sato <ysato@users.sourceforge.jp>
Thu, 27 Jan 2022 13:51:54 +0000 (22:51 +0900)
committerYoshinori Sato <yo-satoh@sios.com>
Sat, 29 Jan 2022 07:42:44 +0000 (16:42 +0900)
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
arch/rx/include/asm/processor.h
arch/rx/include/asm/segment.h

index bfe8e07..133d75e 100644 (file)
@@ -57,7 +57,6 @@ struct thread_struct {
  */
 #define start_thread(_regs, _pc, _usp)                                 \
 do {                                                                   \
-       set_fs(USER_DS);           /* reads from user space */          \
        (_regs)->pc = (_pc);                                            \
        (_regs)->psw = (1<<20) | (1<<17) | (1<<16); /* PM / U / I = 1 */ \
        (_regs)->usp = (_usp);                                          \
index 2847189..f1f331e 100644 (file)
@@ -1,11 +1,4 @@
 #ifndef __ASM_RX_SEGMENT_H__
 #define __ASM_RX_SEGMENT_H__
 
-#ifndef __ASSEMBLY__
-typedef struct {
-       unsigned long seg;
-} mm_segment_t;
-
-#endif
-
 #endif