mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
[LINUX] Make sure to initialiase the xen features bitmap before first use on x86_64.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
This commit is contained in:
1 parent
c3df8d6442
commit
ea62867372
2 files changed
+2
-2
No files matched your search
@@ -104,6 +104,8 @@ void __init x86_64_start_kernel(char * real_mode_data)
|
||||
char *s;
|
||||
int i;
|
||||
|
||||
setup_xen_features();
|
||||
|
||||
xen_start_info = (struct start_info *)real_mode_data;
|
||||
if (!xen_feature(XENFEAT_auto_translated_physmap))
|
||||
phys_to_machine_mapping =
|
||||
|
||||
@@ -625,8 +625,6 @@ void __init setup_arch(char **cmdline_p)
|
||||
|
||||
#endif
|
||||
|
||||
setup_xen_features();
|
||||
|
||||
HYPERVISOR_vm_assist(VMASST_CMD_enable,
|
||||
VMASST_TYPE_writable_pagetables);
|
||||
|
||||
|
||||