linux_dsm_epyc7002/arch/mips/sgi-ip27
Matt Redfearn ff2c8252bf MIPS: SMP: Constify smp ops
smp_ops providers do not modify their ops structures, so they should be
made const for robustness. Since currently the MIPS kernel is not mapped
with memory protection, this does not in itself provide any security
benefit, but it still makes sense to make this change.

There are also slight code size efficincies from the structure being
made read-only, saving 128 bytes of kernel text on a
pistachio_defconfig.
Before:
   text	   data	    bss	    dec	    hex	filename
7187239	1772752	 470224	9430215	 8fe4c7	vmlinux
After:
   text	   data	    bss	    dec	    hex	filename
7187111	1772752	 470224	9430087	 8fe447	vmlinux

Signed-off-by: Matt Redfearn <matt.redfearn@imgtec.com>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Cc: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Huacai Chen <chenhc@lemote.com>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Kevin Cernekee <cernekee@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Doug Ledford <dledford@redhat.com>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Joe Perches <joe@perches.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Steven J. Hill <steven.hill@cavium.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/16784/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2017-08-29 15:21:50 +02:00
..
ip27-berr.c MIPS: Add missing include files 2017-03-08 10:38:06 +01:00
ip27-console.c mips: delete non-required instances of include <linux/init.h> 2014-01-24 22:39:56 +01:00
ip27-hubio.c MIPS: IP27: Fix typo 2016-05-28 12:35:07 +02:00
ip27-init.c MIPS: Audit and remove any unnecessary uses of module.h 2017-02-14 09:00:25 +00:00
ip27-irq-pci.c mips: delete non-required instances of include <linux/init.h> 2014-01-24 22:39:56 +01:00
ip27-irq.c MIPS: SMP: Don't increment irq_count multiple times for call function IPIs 2015-08-03 09:25:12 +02:00
ip27-irqno.c MIPS: IRQ/IP27: Move IRQ allocation API to platform code. 2015-06-21 21:54:31 +02:00
ip27-klconfig.c mips: delete non-required instances of include <linux/init.h> 2014-01-24 22:39:56 +01:00
ip27-klnuma.c MIPS: Avoid old-style declaration 2017-01-25 02:51:11 +01:00
ip27-memory.c MIPS: Audit and remove any unnecessary uses of module.h 2017-02-14 09:00:25 +00:00
ip27-nmi.c MIPS: Spelling fix lets -> let's 2016-05-28 12:35:09 +02:00
ip27-reset.c MIPS: IP27: Use __noreturn instead of open coded attributes in declarations. 2015-01-13 16:04:28 +01:00
ip27-smp.c MIPS: SMP: Constify smp ops 2017-08-29 15:21:50 +02:00
ip27-timer.c MIPS: clockevent drivers: Set ->min_delta_ticks and ->max_delta_ticks 2017-04-14 13:11:16 -07:00
ip27-xtalk.c MIPS: Spelling fix lets -> let's 2016-05-28 12:35:09 +02:00
Kconfig arch/mips/sgi-ip27: remove depends on CONFIG_EXPERIMENTAL 2013-01-21 14:43:12 -08:00
Makefile MIPS: IRQ/IP27: Move IRQ allocation API to platform code. 2015-06-21 21:54:31 +02:00
Platform MIPS: IP27: Migrate to new Platform file 2010-08-05 13:25:47 +01:00
TODO Fix common misspellings 2011-03-31 11:26:23 -03:00