[IA64] compilation fix of 17669:d0817f08599a
authorIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 16 May 2008 13:25:47 +0000 (22:25 +0900)
committerIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 16 May 2008 13:25:47 +0000 (22:25 +0900)
compilation fix of 17669:d0817f08599a.
The change set needs the definition of do_get_pm_info().
Define the stub function.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
xen/arch/ia64/xen/dom0_ops.c

index 4d00c68583817c56bd81d7576a8ce95d4e5afdb5..ee2c31109d5c1da898cf81e721f69a4b85648be5 100644 (file)
@@ -455,6 +455,16 @@ long arch_do_sysctl(xen_sysctl_t *op, XEN_GUEST_HANDLE(xen_sysctl_t) u_sysctl)
     return ret;
 }
 
+int
+do_get_pm_info(struct xen_sysctl_get_pmstat *op)
+{
+    /*
+     * For now just place holder to compile.
+     * xen/common/sysctl.c refers this function.
+     */
+    return -ENOSYS;
+}
+
 static unsigned long
 dom0vp_ioremap(struct domain *d, unsigned long mpaddr, unsigned long size)
 {