OSDN Git Service

powerpc/numa: make vphn_enabled, prrn_enabled flags const
authorNathan Lynch <nathanl@linux.ibm.com>
Fri, 12 Jun 2020 05:12:25 +0000 (00:12 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 16 Jul 2020 03:12:36 +0000 (13:12 +1000)
commite6eacf8eb4dee7bc7021c837666e3ebf1b0ec3b5
treeefd7753df6a0eaf181664e3813ee5de1645703fa
parent7d35bef96a46f7e9e167bb25258c0bd389aeab1b
powerpc/numa: make vphn_enabled, prrn_enabled flags const

Previous changes have made it so these flags are never changed;
enforce this by making them const.

Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Reviewed-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200612051238.1007764-6-nathanl@linux.ibm.com
arch/powerpc/mm/numa.c