aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/compat
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-06-18 10:20:45 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-06-18 10:20:45 +0100
commitfa97833ae18e4a42c0e5ba4e781173457b5d3397 (patch)
treee0a6466547921f456ffcde046c421f3b04a1b61f /xen/common/compat
parentd914b94a3f272e29be3137517f3665844e9442a4 (diff)
downloadxen-fa97833ae18e4a42c0e5ba4e781173457b5d3397.tar.gz
xen-fa97833ae18e4a42c0e5ba4e781173457b5d3397.tar.bz2
xen-fa97833ae18e4a42c0e5ba4e781173457b5d3397.zip
Allow tools to see the hypervisor command line.
This is useful from tools in the same way /proc/cmdline is useful for the domain 0 kernel. Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'xen/common/compat')
-rw-r--r--xen/common/compat/kernel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/common/compat/kernel.c b/xen/common/compat/kernel.c
index f3285fd14f..a2a2751c74 100644
--- a/xen/common/compat/kernel.c
+++ b/xen/common/compat/kernel.c
@@ -15,6 +15,8 @@
#include <compat/nmi.h>
#include <compat/version.h>
+extern xen_commandline_t saved_cmdline;
+
#define xen_extraversion compat_extraversion
#define xen_extraversion_t compat_extraversion_t