summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-07-12 15:55:55 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-16 04:04:36 -0700
commitb3e13fbeb9ac1eb8e7b0791bf56e1775c692972b (patch)
tree06539dfe2332c98c4d8b83450fe1e6055680ddc0 /include
parent83292e0a9c3f1c326b28fbf8cb70a8ce81a98163 (diff)
[SPARC64]: Fix setting of variables in LDOM guest.
There is a special domain services capability for setting variables in the OBP options node. Guests don't have permanent store for the OBP variables like a normal system, so they are instead maintained in the LDOM control node or in the SC. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/asm-sparc64/ldc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-sparc64/ldc.h b/include/asm-sparc64/ldc.h
index 3c91f269f9d..a21996c6b15 100644
--- a/include/asm-sparc64/ldc.h
+++ b/include/asm-sparc64/ldc.h
@@ -4,6 +4,8 @@
#include <asm/hypervisor.h>
extern int ldom_domaining_enabled;
+extern void ldom_set_var(const char *var, const char *value);
+extern void ldom_reboot(const char *boot_command);
/* The event handler will be evoked when link state changes
* or data becomes available on the receive side.