summaryrefslogtreecommitdiffstats
path: root/certs
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2024-08-06 10:24:41 +0200
committerJuergen Gross <jgross@suse.com>2024-09-10 10:07:10 +0200
commit43dc2a0f479b9cd30f6674986d7a40517e999d31 (patch)
treeb1906e05e19d1ba79021bd742b456616936ab164 /certs
parentxen: move checks for e820 conflicts further up (diff)
downloadlinux-43dc2a0f479b9cd30f6674986d7a40517e999d31.tar.xz
linux-43dc2a0f479b9cd30f6674986d7a40517e999d31.zip
xen: move max_pfn in xen_memory_setup() out of function scope
Instead of having max_pfn as a local variable of xen_memory_setup(), make it a static variable in setup.c instead. This avoids having to pass it to subfunctions, which will be needed in more cases in future. Rename it to ini_nr_pages, as the value denotes the currently usable number of memory pages as passed from the hypervisor at boot time. Signed-off-by: Juergen Gross <jgross@suse.com> Tested-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com> Reviewed-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions