arm64, NUMA: Cleanup NUMA disabled messages
authorDavid Daney <david.daney@cavium.com>
Tue, 24 May 2016 22:35:37 +0000 (15:35 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 30 May 2016 12:27:08 +0000 (14:27 +0200)
commit34c333705238dcc82aa758ef1fbb002dbcd76414
tree1a8a5caba6d8e020d25c06c46f50d62dca532696
parent8ccbbdaa2bc06f7b11fec7f44bf2501786a189ba
arm64, NUMA: Cleanup NUMA disabled messages

As noted by Dennis Chen, we don't want to print "No NUMA configuration
found" if NUMA was forced off from the command line.

Change the type of numa_off to bool, and clean up printing code.
Print "NUMA disabled" if forced off on command line and "No NUMA
configuration found" if there was no firmware NUMA information.

Signed-off-by: David Daney <david.daney@cavium.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Dennis Chen <dennis.chen@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/arm64/mm/numa.c