diff options
author | David Howells <dhowells@redhat.com> | 2006-07-10 07:44:54 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-10 16:24:22 -0400 |
commit | b4cac1a0227a6f84be0381cd350a3c8730a4a671 (patch) | |
tree | 24bf1aa95d1977161774210bbb9bf697ad0fe5e9 /drivers/scsi/aic7xxx | |
parent | 01bf466e1866feeb7fce0319cbafe0166e29f5e4 (diff) |
[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 'drivers/scsi/aic7xxx')
-rw-r--r-- | drivers/scsi/aic7xxx/aic79xx_osm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/aic7xxx/aic79xx_osm.h b/drivers/scsi/aic7xxx/aic79xx_osm.h index 9e871de23835..601340d84410 100644 --- a/drivers/scsi/aic7xxx/aic79xx_osm.h +++ b/drivers/scsi/aic7xxx/aic79xx_osm.h | |||
@@ -93,7 +93,6 @@ | |||
93 | #endif | 93 | #endif |
94 | 94 | ||
95 | /********************************** Misc Macros *******************************/ | 95 | /********************************** Misc Macros *******************************/ |
96 | #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) | ||
97 | #define powerof2(x) ((((x)-1)&(x))==0) | 96 | #define powerof2(x) ((((x)-1)&(x))==0) |
98 | 97 | ||
99 | /************************* Forward Declarations *******************************/ | 98 | /************************* Forward Declarations *******************************/ |