Commit graph android_kernel_sony_sdm845/arch/mips/include/asm/cache.h
Message SHA1
MIPS: Rename .data..mostly and properly handle it in linker script
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

Catalin Marinas   authored and   Ralf Baechle   commited 2011-05-10 18:15:24 +01:00
f8bec75acd
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 <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/1702/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

David Daney   authored and   Ralf Baechle   commited 2011-01-18 19:30:28 +01:00
1befdd5536
MIPS: Move headfiles to new location below arch/mips/include
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

Ralf Baechle   commited 2008-10-11 16:18:52 +01:00
384740dc49
Renamed from include/asm-mips/cache.h (Browse further)