[PATCHv4 06/24] arm64: Move /proc/cpuinfo handling code
Catalin Marinas
catalin.marinas at arm.com
Wed Oct 21 02:21:43 PDT 2015
On Wed, Oct 21, 2015 at 10:00:51AM +0100, Dave P Martin wrote:
> From ab00f84e4d45e95b4d816961a0160f1d448aa886 Mon Sep 17 00:00:00 2001
> From: Dave Martin <Dave.Martin at arm.com>
> Date: Thu, 30 Jul 2015 16:36:25 +0100
> Subject: [PATCH 1/2] arm64: Constify hwcap name string arrays
>
> The hwcap string arrays used for generating the contents of
> /proc/cpuinfo are currently arrays of non-const pointers.
>
> There's no need for these pointers to be mutable, so this patch makes
> them const so that they can be moved to .rodata.
>
> Signed-off-by: Dave Martin <Dave.Martin at arm.com>
Thanks Dave. I applied this on top of Suzuki's series.
--
Catalin
More information about the linux-arm-kernel
mailing list