diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2006-02-01 03:05:49 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-01 08:53:18 -0800 |
commit | 6ed5eb2211204224799b2821656bbbfde26ef200 (patch) | |
tree | 46c9c3d34317bcee626343acf9aec12c87ee9f32 /kernel/cpu.c | |
parent | 5295a74cc0bcf1291686eb734ccb06baa3d55c1a (diff) |
[PATCH] slab: extract virt_to_{cache|slab}
Introduce virt_to_cache() and virt_to_slab() functions to reduce duplicate
code and introduce a proper abstraction should we want to support other kind
of mapping for address to slab and cache (eg. for vmalloc() or I/O memory).
Acked-by: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions