diff options
author | David Howells <dhowells@redhat.com> | 2008-07-19 03:44:32 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-19 03:44:32 -0400 |
commit | e4f25060b87a627f5cda84b8134911d43c919458 (patch) | |
tree | 78bb1df9a6e4e2a52e626afa856f638cff12acd5 /arch/sparc/kernel | |
parent | e7eb32eb3d28788fd66c233618e3f7fbe7beb9e4 (diff) |
sparc: Remove Sparc's asm-offsets for sclow.S
Remove Sparc's asm-offsets for sclow.S as the (E)UID/(E)GID size and
offset definitions will cease to be correct if COW credentials are
merged.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel')
-rw-r--r-- | arch/sparc/kernel/asm-offsets.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/sparc/kernel/asm-offsets.c b/arch/sparc/kernel/asm-offsets.c index cd3f7694e9b9..b5bb99ed892c 100644 --- a/arch/sparc/kernel/asm-offsets.c +++ b/arch/sparc/kernel/asm-offsets.c | |||
@@ -18,18 +18,6 @@ int foo(void) | |||
18 | { | 18 | { |
19 | DEFINE(AOFF_task_thread, offsetof(struct task_struct, thread)); | 19 | DEFINE(AOFF_task_thread, offsetof(struct task_struct, thread)); |
20 | BLANK(); | 20 | BLANK(); |
21 | /* XXX This is the stuff for sclow.S, kill it. */ | ||
22 | DEFINE(AOFF_task_pid, offsetof(struct task_struct, pid)); | ||
23 | DEFINE(AOFF_task_uid, offsetof(struct task_struct, uid)); | ||
24 | DEFINE(AOFF_task_gid, offsetof(struct task_struct, gid)); | ||
25 | DEFINE(AOFF_task_euid, offsetof(struct task_struct, euid)); | ||
26 | DEFINE(AOFF_task_egid, offsetof(struct task_struct, egid)); | ||
27 | /* DEFINE(THREAD_INFO, offsetof(struct task_struct, stack)); */ | ||
28 | DEFINE(ASIZ_task_uid, sizeof(current->uid)); | ||
29 | DEFINE(ASIZ_task_gid, sizeof(current->gid)); | ||
30 | DEFINE(ASIZ_task_euid, sizeof(current->euid)); | ||
31 | DEFINE(ASIZ_task_egid, sizeof(current->egid)); | ||
32 | BLANK(); | ||
33 | DEFINE(AOFF_thread_fork_kpsr, | 21 | DEFINE(AOFF_thread_fork_kpsr, |
34 | offsetof(struct thread_struct, fork_kpsr)); | 22 | offsetof(struct thread_struct, fork_kpsr)); |
35 | BLANK(); | 23 | BLANK(); |