diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2014-07-03 13:10:06 +1000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-09-08 12:50:48 +0200 |
commit | b082d65a30078d176f8d1fbb3b99e1449fa2fcff (patch) | |
tree | 55e22734c7bc903671da04aa3eeb90c482920767 /hw/ppc/spapr_rtas.c | |
parent | 6010818c30ce9c796b4e22fd261fc6fea1cecbfc (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