|
|
|
|
|
|
|
|
|
|
xen-ppc-devel
[XenPPC] [linux-ppc-2.6] [XEN][POWERPC] set NULL to shared in gnttab_sus
# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID 01f3c63f0343051ce1cc039b4bd38def61eb3def
# Parent ef51ca28a1fc1e49299f0492194f921a309abc64
[XEN][POWERPC] set NULL to shared in gnttab_suspend.
Signed-off-by: Yi Ge <kudva@xxxxxxxxxxxxxx>
Signed-off-by: Dan E Poff <poff@xxxxxxxxxxxxxx>
Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
---
drivers/xen/core/gnttab.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
diff -r ef51ca28a1fc -r 01f3c63f0343 drivers/xen/core/gnttab.c
--- a/drivers/xen/core/gnttab.c Fri Nov 10 18:49:48 2006 -0500
+++ b/drivers/xen/core/gnttab.c Sat Nov 11 10:25:31 2006 -0500
@@ -426,7 +426,9 @@ int gnttab_suspend(void)
int gnttab_suspend(void)
{
#ifdef CONFIG_PPC_XEN
- return arch_gnttab_suspend(shared);
+ int ret = arch_gnttab_suspend(shared);
+ shared = NULL;
+ return ret;
#else
#if !defined(__ia64__)
apply_to_page_range(&init_mm, (unsigned long)shared,
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [XenPPC] [linux-ppc-2.6] [XEN][POWERPC] set NULL to shared in gnttab_suspend.,
Xen patchbot-linux-ppc-2 . 6 <=
|
|
|
|
|