summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorKyle Moffett <mrmacman_g4@mac.com>2005-09-03 15:55:03 -0700
committerLinus Torvalds <torvalds@evo.osdl.org>2005-09-05 00:05:48 -0700
commitfa5b08d5f818063d18433194f20359ef2ae50254 (patch)
treef2b2bc88347a618f0c4b535d57d2a5271a5eb98e /mm
parent0e5c9f39f64d8a55c5db37a5ea43e37d3422fd92 (diff)
downloadlinux-3.10-fa5b08d5f818063d18433194f20359ef2ae50254.tar.gz
linux-3.10-fa5b08d5f818063d18433194f20359ef2ae50254.tar.bz2
linux-3.10-fa5b08d5f818063d18433194f20359ef2ae50254.zip
[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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/slab.c b/mm/slab.c
index ae6cca04de4..59d382fbca1 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -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)