aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc/spapr_rtas.c
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2014-07-03 13:10:06 +1000
committerAlexander Graf <agraf@suse.de>2014-09-08 12:50:48 +0200
commitb082d65a30078d176f8d1fbb3b99e1449fa2fcff (patch)
tree55e22734c7bc903671da04aa3eeb90c482920767 /hw/ppc/spapr_rtas.c
parent6010818c30ce9c796b4e22fd261fc6fea1cecbfc (diff)
spapr: Add a helper for node0_size calculation
In multiple places there is a node0_size variable calculation which assumes that NUMA node #0 and memory node #0 are the same things which they are not. Since we are going to change it and do not want to change it in multiple places, let's make a helper. This adds a spapr_node0_size() helper and makes use of it. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/ppc/spapr_rtas.c')
0 files changed, 0 insertions, 0 deletions