diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mm_types.h | 5 | ||||
-rw-r--r-- | include/linux/slub_def.h | 1 |
2 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h index 0cdc8fbf643..87766791845 100644 --- a/include/linux/mm_types.h +++ b/include/linux/mm_types.h @@ -37,10 +37,7 @@ struct page { * to show when page is mapped * & limit reverse map searches. */ - struct { /* SLUB uses */ - short unsigned int inuse; - short unsigned int offset; - }; + unsigned int inuse; /* SLUB: Nr of objects */ }; union { struct { diff --git a/include/linux/slub_def.h b/include/linux/slub_def.h index 0a7ae25f7e8..92e10cf6d0e 100644 --- a/include/linux/slub_def.h +++ b/include/linux/slub_def.h @@ -15,6 +15,7 @@ struct kmem_cache_cpu { void **freelist; struct page *page; int node; + unsigned int offset; /* Lots of wasted space */ } ____cacheline_aligned_in_smp; |