diff options
author | David Howells <dhowells@redhat.com> | 2006-07-10 13:44:54 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-10 22:24:22 +0200 |
commit | b4cac1a0227a6f84be0381cd350a3c8730a4a671 (patch) | |
tree | 24bf1aa95d1977161774210bbb9bf697ad0fe5e9 /fs/proc | |
parent | [PATCH] FDPIC: Define SEEK_* constants in the Linux kernel headers (diff) | |
download | linux-b4cac1a0227a6f84be0381cd350a3c8730a4a671.tar.xz linux-b4cac1a0227a6f84be0381cd350a3c8730a4a671.zip |
[PATCH] FDPIC: Move roundup() into linux/kernel.h
Move the roundup() macro from binfmt_elf.c into linux/kernel.h as it's
generally useful.
[akpm@osdl.org: nuke all the other implementations]
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/proc')
-rw-r--r-- | fs/proc/kcore.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/proc/kcore.c b/fs/proc/kcore.c index 036d14d83627..8d6d85d7400f 100644 --- a/fs/proc/kcore.c +++ b/fs/proc/kcore.c @@ -42,8 +42,6 @@ const struct file_operations proc_kcore_operations = { #define kc_offset_to_vaddr(o) ((o) + PAGE_OFFSET) #endif -#define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) - /* An ELF note in memory */ struct memelfnote { |