commit | 6ed5eb2211204224799b2821656bbbfde26ef200 | [log] [tgz] |
---|---|---|
author | Pekka Enberg <penberg@cs.helsinki.fi> | Wed Feb 01 03:05:49 2006 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Wed Feb 01 08:53:18 2006 -0800 |
tree | 46c9c3d34317bcee626343acf9aec12c87ee9f32 | |
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>