On Fri, 2011-06-10 at 15:30 +0100, Ralf Baechle wrote: > Aside of the usual motivation for constification, this function has a > history of being abused a hook for interrupt and other fixups so I turned > this function const ages ago in the MIPS code but it should be done > treewide. > > Due to function pointer passing in varous places a few other functions > had to be constified as well. > > Signed-off-by: Ralf Baechle <ralf@xxxxxxxxxxxxxx> > To: Anton Vorontsov <avorontsov@xxxxxxxxxx> > To: Chris Metcalf <cmetcalf@xxxxxxxxxx> > To: Colin Cross <ccross@xxxxxxxxxxx> > To: "David S. Miller" <davem@xxxxxxxxxxxxx> > To: Eric Miao <eric.y.miao@xxxxxxxxx> > To: Erik Gilling <konkers@xxxxxxxxxxx> > To: Guan Xuetao <gxt@xxxxxxxxxxxxxxx> > To: "H. Peter Anvin" <hpa@xxxxxxxxx> > To: Imre Kaloz <kaloz@xxxxxxxxxxx> > To: Ingo Molnar <mingo@xxxxxxxxxx> > To: Ivan Kokshaysky <ink@xxxxxxxxxxxxxxxxxxxx> > To: Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx> > To: Krzysztof Halasa <khc@xxxxxxxxx> > To: Lennert Buytenhek <kernel@xxxxxxxxxxxxxx> > To: Matt Turner <mattst88@xxxxxxxxx> > To: Nicolas Pitre <nico@xxxxxxxxxxx> > To: Olof Johansson <olof@xxxxxxxxx> > To: Paul Mundt <lethal@xxxxxxxxxxxx> > To: Richard Henderson <rth@xxxxxxxxxxx> > To: Russell King <linux@xxxxxxxxxxxxxxxx> > To: Thomas Gleixner <tglx@xxxxxxxxxxxxx> > Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> > Cc: linux-alpha@xxxxxxxxxxxxxxx > Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx > Cc: linux-kernel@xxxxxxxxxxxxxxx > Cc: linux-mips@xxxxxxxxxxxxxx > Cc: linux-pci@xxxxxxxxxxxxxxx > Cc: linux-sh@xxxxxxxxxxxxxxx > Cc: linux-tegra@xxxxxxxxxxxxxxx > Cc: sparclinux@xxxxxxxxxxxxxxx > Cc: x86@xxxxxxxxxx > --- For UniCore32 related codes: Acked-by: Guan Xuetao <gxt@xxxxxxxxxxxxxxx>