debuggers.hg
changeset 3068:d7517f43cfda
bitkeeper revision 1.1159.176.3 (419c7922rQh8G2esWsSBcfh7OMce6A)
Foreign-page cleanups.
Foreign-page cleanups.
author | kaf24@scramble.cl.cam.ac.uk |
---|---|
date | Thu Nov 18 10:27:46 2004 +0000 (2004-11-18) |
parents | 97eb14e61a7f |
children | c4c8868de7cf 2c98cd276123 |
files | linux-2.6.9-xen-sparse/include/asm-xen/foreign_page.h linux-2.6.9-xen-sparse/include/linux/gfp.h |
line diff
1.1 --- a/linux-2.6.9-xen-sparse/include/asm-xen/foreign_page.h Wed Nov 17 22:15:28 2004 +0000 1.2 +++ b/linux-2.6.9-xen-sparse/include/asm-xen/foreign_page.h Thu Nov 18 10:27:46 2004 +0000 1.3 @@ -10,10 +10,7 @@ 1.4 #ifndef __ASM_XEN_FOREIGN_PAGE_H__ 1.5 #define __ASM_XEN_FOREIGN_PAGE_H__ 1.6 1.7 -/* 1.8 - * NOTE: PG_foreign must not conflict with any PG_ definition in page-flags.h!! 1.9 - */ 1.10 -#define PG_foreign 25 1.11 +#define PG_foreign PG_arch_1 1.12 1.13 #define PageForeign(page) test_bit(PG_foreign, &(page)->flags) 1.14
2.1 --- a/linux-2.6.9-xen-sparse/include/linux/gfp.h Wed Nov 17 22:15:28 2004 +0000 2.2 +++ b/linux-2.6.9-xen-sparse/include/linux/gfp.h Thu Nov 18 10:27:46 2004 +0000 2.3 @@ -79,11 +79,7 @@ struct vm_area_struct; 2.4 * immediately bail: the arch-specific function has done all the work. 2.5 */ 2.6 #ifndef HAVE_ARCH_FREE_PAGE 2.7 -static inline int arch_free_page(struct page *page, int order) 2.8 -{ 2.9 - /* Generic free_page must do the work. */ 2.10 - return 0; 2.11 -} 2.12 +#define arch_free_page(page, order) 0 2.13 #endif 2.14 2.15 extern struct page *