kernel/slab: Use (1 << x) to define cache flag bits.
No functional change intended.
This commit is contained in:
@@ -20,14 +20,14 @@ enum {
|
|||||||
| CACHE_DONT_LOCK_KERNEL_SPACE
|
| CACHE_DONT_LOCK_KERNEL_SPACE
|
||||||
| CACHE_PRIORITY_VIP,
|
| CACHE_PRIORITY_VIP,
|
||||||
|
|
||||||
/* create_object_cache_etc flags */
|
/* create_object_cache flags */
|
||||||
CACHE_NO_DEPOT = 0x08000000,
|
CACHE_NO_DEPOT = (1 << 27),
|
||||||
CACHE_UNLOCKED_PAGES = 0x10000000, // unsupported
|
CACHE_UNLOCKED_PAGES = (1 << 28), // unsupported
|
||||||
CACHE_LARGE_SLAB = 0x20000000,
|
CACHE_LARGE_SLAB = (1 << 29),
|
||||||
|
|
||||||
/* internal */
|
/* internal */
|
||||||
CACHE_ALIGN_ON_SIZE = 0x40000000,
|
CACHE_ALIGN_ON_SIZE = (1 << 30),
|
||||||
CACHE_DURING_BOOT = 0x80000000
|
CACHE_DURING_BOOT = (1 << 31)
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ObjectCache;
|
struct ObjectCache;
|
||||||
|
|||||||
Reference in New Issue
Block a user