diff options
| author | Alexey Kardashevskiy | 2014-07-03 05:10:06 +0200 |
|---|---|---|
| committer | Alexander Graf | 2014-09-08 12:50:48 +0200 |
| commit | b082d65a30078d176f8d1fbb3b99e1449fa2fcff (patch) | |
| tree | 55e22734c7bc903671da04aa3eeb90c482920767 /include | |
| parent | spapr: Split memory nodes to power-of-two blocks (diff) | |
| download | qemu-b082d65a30078d176f8d1fbb3b99e1449fa2fcff.tar.gz qemu-b082d65a30078d176f8d1fbb3b99e1449fa2fcff.tar.xz qemu-b082d65a30078d176f8d1fbb3b99e1449fa2fcff.zip | |
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 'include')
0 files changed, 0 insertions, 0 deletions
