]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Move read_mostly definition to asm/cache.h
authorKyle McMartin <kyle@parisc-linux.org>
Thu, 23 Mar 2006 11:00:16 +0000 (03:00 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 23 Mar 2006 15:38:10 +0000 (07:38 -0800)
commit89f6da7c60684e0a26e10de46cc40a2439a5a28b
tree81f7a7cea8dbf671c733df379c6582e36459e8da
parentf6b34ab10716984fb467c78cdf48fa2fb9f8d44c
[PATCH] Move read_mostly definition to asm/cache.h

Seems like needless clutter having a bunch of #if defined(CONFIG_$ARCH) in
include/linux/cache.h.  Move the per architecture section definition to
asm/cache.h, and keep the if-not-defined dummy case in linux/cache.h to
catch architectures which don't implement the section.

Verified that symbols still go in .data.read_mostly on parisc,
and the compile doesn't break.

Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-i386/cache.h
include/asm-ia64/cache.h
include/asm-parisc/cache.h
include/asm-sparc64/cache.h
include/asm-x86_64/cache.h
include/linux/cache.h