aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/cache.h
Commit message (Collapse)AuthorAge
* MIPS: Delete redundant definition of SMP_CACHE_BYTES.Ralf Baechle2017-04-10
| | | | | | | | | <linux/cache.h> already defines SMP_CACHE_BYTES as L1_CACHE_BYTES. This change results in a build error in <asm/cpu-info.h> which directly includes <asm/cache.h>. Fix this by including <linux/cache.h> instead. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* MIPS: Delete unused definition of SMP_CACHE_SHIFT.Ralf Baechle2017-04-10
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* MIPS: Don't unnecessarily include kmalloc.h into <asm/cache.h>.Ralf Baechle2017-04-10
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* MIPS: Rename .data..mostly and properly handle it in linker scriptCatalin Marinas2011-05-10
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* MIPS: Implement __read_mostlyDavid Daney2011-01-18
| | | | | | | | | | | | | | | | 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>
* MIPS: Move headfiles to new location below arch/mips/includeRalf Baechle2008-10-11
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>