mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[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 <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
0e5c9f39f6
commit
fa5b08d5f8
23 changed files with 1 additions and 43 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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue