linux_dsm_epyc7002/arch/powerpc/platforms
LABBE Corentin 6538ac3084 powerpc/powernv: Fix build error in opal-imc.c when NUMA=n
When building a random powerpc kernel I hit this build error:

  arch/powerpc/platforms/powernv/opal-imc.c:130:13: error : assignment
  discards « const » qualifier from pointer target type
  [-Werror=discarded-qualifiers]
     l_cpumask = cpumask_of_node(nid);
             ^

This happens because when CONFIG_NUMA=n cpumask_of_node() returns a
const pointer.

This patch simply adds const to l_cpumask to fix this issue.

Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Reviewed-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
[mpe: Flesh out change log]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2017-08-28 22:09:57 +10:00
..
4xx powerpc: Convert to using %pOF instead of full_name 2017-08-23 22:27:04 +10:00
8xx powerpc/8xx: Fix two CONFIG_8xx left behind 2017-08-14 21:57:33 +10:00
40x powerpc updates for 4.10 2016-12-16 09:26:42 -08:00
44x powerpc/44x: Move 44x machine check handlers into platforms/44x 2017-08-10 23:31:24 +10:00
52xx powerpc: Convert to using %pOF instead of full_name 2017-08-23 22:27:04 +10:00
82xx powerpc/e8248e: Select PHYLIB only if NETDEVICES is enabled 2016-09-24 23:59:47 -05:00
83xx powerpc: Convert to using %pOF instead of full_name 2017-08-23 22:27:04 +10:00
85xx powerpc: Convert to using %pOF instead of full_name 2017-08-23 22:27:04 +10:00
86xx powerpc: Add struct smp_ops_t.cause_nmi_ipi operation 2017-04-28 21:02:25 +10:00
512x powerpc: Convert to using %pOF instead of full_name 2017-08-23 22:27:04 +10:00
amigaone powerpc: Convert to using %pOF instead of full_name 2017-08-23 22:27:04 +10:00
cell powerpc: Convert to using %pOF instead of full_name 2017-08-23 22:27:04 +10:00
chrp powerpc: Convert to using %pOF instead of full_name 2017-08-23 22:27:04 +10:00
embedded6xx powerpc: Convert to using %pOF instead of full_name 2017-08-23 22:27:04 +10:00
maple powerpc: Convert to using %pOF instead of full_name 2017-08-23 22:27:04 +10:00
pasemi powerpc: Convert to using %pOF instead of full_name 2017-08-23 22:27:04 +10:00
powermac powerpc: Convert to using %pOF instead of full_name 2017-08-23 22:27:04 +10:00
powernv powerpc/powernv: Fix build error in opal-imc.c when NUMA=n 2017-08-28 22:09:57 +10:00
ps3 powerpc: ps3: use dev_groups and not dev_attrs for bus_type 2017-06-09 11:00:46 +02:00
pseries powerpc: pseries: remove dlpar_attach_node dependency on full path 2017-08-23 22:27:04 +10:00
fsl_uli1575.c of/irq: Refactor interrupt-map parsing 2013-10-24 11:43:04 +01:00
Kconfig powerpc/book3s64: Move PPC_DT_CPU_FTRs and enable it by default 2017-06-08 20:42:57 +10:00
Kconfig.cputype powerpc/8xx: remove CONFIG_8xx 2017-08-10 23:32:17 +10:00
Makefile powerpc/4xx: Create 4xx pseudo-platform in platforms/4xx 2017-08-10 23:31:30 +10:00