diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-31 01:30:48 +0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2012-03-25 03:29:55 +0400 |
commit | c2220b2a124d2fe7b0074b23680177c8e905a76c (patch) | |
tree | f88ed3858ce65669134888f64193ab139a8a95dc /arch/um/include/shared/common-offsets.h | |
parent | 28a12cb598e55ca9e1c577899d6624e6a83cdc56 (diff) | |
download | linux-c2220b2a124d2fe7b0074b23680177c8e905a76c.tar.xz |
um: kill HOST_TASK_PID
just provide get_current_pid() to the userland side of things
instead of get_current() + manual poking in its results
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/include/shared/common-offsets.h')
-rw-r--r-- | arch/um/include/shared/common-offsets.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/um/include/shared/common-offsets.h b/arch/um/include/shared/common-offsets.h index d7fe563aa7e7..40db8f71deae 100644 --- a/arch/um/include/shared/common-offsets.h +++ b/arch/um/include/shared/common-offsets.h @@ -2,8 +2,6 @@ DEFINE(KERNEL_MADV_REMOVE, MADV_REMOVE); -OFFSET(HOST_TASK_PID, task_struct, pid); - DEFINE(UM_KERN_PAGE_SIZE, PAGE_SIZE); DEFINE(UM_KERN_PAGE_MASK, PAGE_MASK); DEFINE(UM_KERN_PAGE_SHIFT, PAGE_SHIFT); |