diff options
author | Kyle Moffett <mrmacman_g4@mac.com> | 2005-09-03 15:55:03 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-09-05 00:05:48 -0700 |
commit | fa5b08d5f818063d18433194f20359ef2ae50254 (patch) | |
tree | f2b2bc88347a618f0c4b535d57d2a5271a5eb98e /mm | |
parent | 0e5c9f39f64d8a55c5db37a5ea43e37d3422fd92 (diff) | |
download | op-kernel-dev-fa5b08d5f818063d18433194f20359ef2ae50254.zip op-kernel-dev-fa5b08d5f818063d18433194f20359ef2ae50254.tar.gz |
[PATCH] sab: consolidate kmem_bufctl_t
This is used only in slab.c and each architecture gets to define whcih
underlying type is to be used.
Seems a bit silly - move it to slab.c and use the same type for all
architectures: unsigned int.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/slab.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -189,6 +189,7 @@ * is less than 512 (PAGE_SIZE<<3), but greater than 256. */ +typedef unsigned int kmem_bufctl_t; #define BUFCTL_END (((kmem_bufctl_t)(~0U))-0) #define BUFCTL_FREE (((kmem_bufctl_t)(~0U))-1) #define SLAB_LIMIT (((kmem_bufctl_t)(~0U))-2) |