]> git.baikalelectronics.ru Git - kernel.git/commit
mm: move cache_line_size() to <linux/cache.h>
authorPekka Enberg <penberg@cs.helsinki.fi>
Mon, 28 Apr 2008 09:12:22 +0000 (02:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:19 +0000 (08:58 -0700)
commit9f4a5fb1d3b26bae0943eac08b49e3a8035451e6
treec5413d5f64efed1aa84bfa0ab718f1e2a2f6f9cb
parent09c6df7bbad14317193e43764ac4c3314b23ecb9
mm: move cache_line_size() to <linux/cache.h>

Not all architectures define cache_line_size() so as suggested by Andrew move
the private implementations in mm/slab.c and mm/slob.c to <linux/cache.h>.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Reviewed-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/Kconfig
include/linux/cache.h
mm/slab.c
mm/slub.c