diff options
author | Ian Campbell <ian.campbell@xensource.com> | 2006-11-30 17:53:59 +0000 |
---|---|---|
committer | Ian Campbell <ian.campbell@xensource.com> | 2006-11-30 17:53:59 +0000 |
commit | 55b918302fabef639c2bf7fac5256eda92a39270 (patch) | |
tree | 3c3e03fb90ad201a21035dd1663cbe41fdb06b86 /linux-2.6-xen-sparse | |
parent | 2a7916e953aa1231b709510d0bf081119cf097c0 (diff) | |
download | xen-55b918302fabef639c2bf7fac5256eda92a39270.tar.gz xen-55b918302fabef639c2bf7fac5256eda92a39270.tar.bz2 xen-55b918302fabef639c2bf7fac5256eda92a39270.zip |
[LINUX] Only initialise kexec in domain0.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Diffstat (limited to 'linux-2.6-xen-sparse')
-rw-r--r-- | linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c b/linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c index 08820ad37d..d4c248eccd 100644 --- a/linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c +++ b/linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c @@ -22,6 +22,9 @@ void xen_machine_kexec_setup_resources(void) struct resource *res; int k = 0; + if (!is_initial_xendomain()) + return; + /* determine maximum number of physical cpus */ while (1) { |