diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/binfmt_elf.c | 2 | ||||
-rw-r--r-- | fs/proc/kcore.c | 2 | ||||
-rw-r--r-- | fs/xfs/linux-2.6/xfs_linux.h | 1 |
3 files changed, 0 insertions, 5 deletions
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index f42e64210ee5..672a3b90bc55 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c | |||
@@ -1185,8 +1185,6 @@ static int maydump(struct vm_area_struct *vma) | |||
1185 | return 1; | 1185 | return 1; |
1186 | } | 1186 | } |
1187 | 1187 | ||
1188 | #define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y)) | ||
1189 | |||
1190 | /* An ELF note in memory */ | 1188 | /* An ELF note in memory */ |
1191 | struct memelfnote | 1189 | struct memelfnote |
1192 | { | 1190 | { |
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 = { | |||
42 | #define kc_offset_to_vaddr(o) ((o) + PAGE_OFFSET) | 42 | #define kc_offset_to_vaddr(o) ((o) + PAGE_OFFSET) |
43 | #endif | 43 | #endif |
44 | 44 | ||
45 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ||
46 | |||
47 | /* An ELF note in memory */ | 45 | /* An ELF note in memory */ |
48 | struct memelfnote | 46 | struct memelfnote |
49 | { | 47 | { |
diff --git a/fs/xfs/linux-2.6/xfs_linux.h b/fs/xfs/linux-2.6/xfs_linux.h index 8c021dc57d1f..a13f75c1a936 100644 --- a/fs/xfs/linux-2.6/xfs_linux.h +++ b/fs/xfs/linux-2.6/xfs_linux.h | |||
@@ -215,7 +215,6 @@ BUFFER_FNS(PrivateStart, unwritten); | |||
215 | #define MIN(a,b) (min(a,b)) | 215 | #define MIN(a,b) (min(a,b)) |
216 | #define MAX(a,b) (max(a,b)) | 216 | #define MAX(a,b) (max(a,b)) |
217 | #define howmany(x, y) (((x)+((y)-1))/(y)) | 217 | #define howmany(x, y) (((x)+((y)-1))/(y)) |
218 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ||
219 | 218 | ||
220 | /* | 219 | /* |
221 | * Various platform dependent calls that don't fit anywhere else | 220 | * Various platform dependent calls that don't fit anywhere else |