From: David Daney Date: Thu, 14 Oct 2010 19:36:49 +0000 (-0700) Subject: MIPS: Implement __read_mostly X-Git-Tag: v2.6.38-rc1~4^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1befdd5536e1500371f7f884d0f0ae528a519333;p=pandora-kernel.git MIPS: Implement __read_mostly Just do what everyone else is doing by placing __read_mostly things in the .data.read_mostly section. mips_io_port_base can not be read-only (const) and writable (__read_mostly) at the same time. One of them has to go, so I chose to eliminate the __read_mostly. It will still get stuck in a portion of memory that is not adjacent to things that are written, and thus not be on a dirty cache line, for whatever that is worth. Signed-off-by: David Daney To: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/1702/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed