|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [powerpc] implement page_is_removable()
# HG changeset patch
# User Hollis Blanchard <hollisb@xxxxxxxxxx>
# Node ID 1fc28f62e0ed09a449787398662b3c480f6af978
# Parent 15e4b258a69a4745491429ce6212bc6aed6b721a
[powerpc] implement page_is_removable()
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
---
xen/include/asm-powerpc/mm.h | 5 +++++
1 files changed, 5 insertions(+)
diff -r 15e4b258a69a -r 1fc28f62e0ed xen/include/asm-powerpc/mm.h
--- a/xen/include/asm-powerpc/mm.h Wed Jul 26 14:25:07 2006 -0400
+++ b/xen/include/asm-powerpc/mm.h Thu Jul 27 17:23:42 2006 -0500
@@ -158,6 +158,11 @@ static inline int get_page_and_type(stru
return 1;
}
+static inline int page_is_removable(struct page_info *page)
+{
+ return ((page->count_info & PGC_count_mask) == 1);
+}
+
int get_page_type(struct page_info *page, u32 type);
#define set_machinetophys(_mfn, _pfn) (trap(), 0)
_______________________________________________
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] [powerpc] implement page_is_removable(),
Xen patchbot-unstable <=
|
|
|
|
|