|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [IA64] Add arch_free_page()
# HG changeset patch
# User awilliam@xxxxxxxxxxxx
# Date 1170266396 25200
# Node ID ef646312685f8dfadd9edcaf594da7b99f3552ec
# Parent 6d38ae7927cf8170a130cd0c45880505fa04d6d5
[IA64] Add arch_free_page()
Without this, Linux can hit bad_page()
Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
linux-2.6-xen-sparse/include/asm-ia64/page.h | 9 +++++++++
1 files changed, 9 insertions(+)
diff -r 6d38ae7927cf -r ef646312685f
linux-2.6-xen-sparse/include/asm-ia64/page.h
--- a/linux-2.6-xen-sparse/include/asm-ia64/page.h Wed Jan 31 10:30:54
2007 -0700
+++ b/linux-2.6-xen-sparse/include/asm-ia64/page.h Wed Jan 31 10:59:56
2007 -0700
@@ -238,6 +238,15 @@ get_order (unsigned long size)
#include <xen/features.h> // to compile netback, netfront
#include <asm/maddr.h>
+#define arch_free_page(_page, _order) \
+({ \
+ int foreign = PageForeign(_page); \
+ if (foreign) \
+ PageForeignDestructor(_page); \
+ foreign; \
+})
+#define HAVE_ARCH_FREE_PAGE
+
#endif /* CONFIG_XEN */
#endif /* __ASSEMBLY__ */
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] [IA64] Add arch_free_page(),
Xen patchbot-unstable <=
|
|
|
|
|