aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/processor_32.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-08-20 10:55:25 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2021-01-03 20:10:56 -0500
commit415ddc3b105616d6a4fec279ed7d87841cbfa3fb (patch)
treee756d098ed567500e1c710764e689a6c262102ab /arch/sparc/include/asm/processor_32.h
parentsparc32: get rid of fake_swapper_regs (diff)
downloadlinux-dev-415ddc3b105616d6a4fec279ed7d87841cbfa3fb.tar.xz
linux-dev-415ddc3b105616d6a4fec279ed7d87841cbfa3fb.zip
sparc32: take ->thread.flags out
it was used for two things - dealing with unusual ->kregs for kernel threads and "emulate unaligned userland accesses for this thread"; the former is killed off by the previous commit, the latter never had been set in the first place. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sparc/include/asm/processor_32.h')
-rw-r--r--arch/sparc/include/asm/processor_32.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/sparc/include/asm/processor_32.h b/arch/sparc/include/asm/processor_32.h
index d7b71d7bed1f..b6242f7771e9 100644
--- a/arch/sparc/include/asm/processor_32.h
+++ b/arch/sparc/include/asm/processor_32.h
@@ -50,15 +50,10 @@ struct thread_struct {
unsigned long fsr;
unsigned long fpqdepth;
struct fpq fpqueue[16];
- unsigned long flags;
mm_segment_t current_ds;
};
-#define SPARC_FLAG_KTHREAD 0x1 /* task is a kernel thread */
-#define SPARC_FLAG_UNALIGNED 0x2 /* is allowed to do unaligned accesses */
-
#define INIT_THREAD { \
- .flags = SPARC_FLAG_KTHREAD, \
.current_ds = KERNEL_DS, \
.kregs = (struct pt_regs *)(init_stack+THREAD_SIZE)-1 \
}