From: Pekka Enberg Date: Wed, 1 Feb 2006 11:05:49 +0000 (-0800) Subject: [PATCH] slab: extract virt_to_{cache|slab} X-Git-Tag: v2.6.16-rc2~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ed5eb2211204224799b2821656bbbfde26ef200;p=pandora-kernel.git [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 Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed