From: Kyle McMartin Date: Thu, 23 Mar 2006 11:00:16 +0000 (-0800) Subject: [PATCH] Move read_mostly definition to asm/cache.h X-Git-Tag: v2.6.17-rc1~1060 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=804f1594cc3deb161e531a43d90c501f0db2635a;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed