diff options
author | Américo Wang <xiyou.wangcong@gmail.com> | 2009-01-18 19:00:38 +0100 |
---|---|---|
committer | Pekka Enberg <penberg@cs.helsinki.fi> | 2009-01-19 09:10:22 +0100 |
commit | 6e9ed0cc4b963fde66ab47d9fb19147631e44555 (patch) | |
tree | e758725d3d6202f96268770c89f7d348c7d23763 /mm/slub.c | |
parent | Merge branch 'x86-pat-for-linus' of git://git.kernel.org/pub/scm/linux/kernel... (diff) | |
download | linux-6e9ed0cc4b963fde66ab47d9fb19147631e44555.tar.xz linux-6e9ed0cc4b963fde66ab47d9fb19147631e44555.zip |
slob: clean up the code
- Use NULL instead of plain 0;
- Rename slob_page() to is_slob_page();
- Define slob_page() to convert void* to struct slob_page*;
- Rename slob_new_page() to slob_new_pages();
- Define slob_free_pages() accordingly.
Compile tests only.
Signed-off-by: WANG Cong <wangcong@zeuux.org>
Signed-off-by: Matt Mackall <mpm@selenic.com>
Cc: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Diffstat (limited to 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions