summaryrefslogtreecommitdiff
path: root/include/linux/gfp.h
diff options
context:
space:
mode:
authorPaolo \'Blaisorblade\' Giarrusso <blaisorblade_spam@yahoo.it>2004-08-23 21:13:23 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-23 21:13:23 -0700
commit1cded5514cb55603df3e512ccf0ee1a998f6c8b1 (patch)
treeb6206afee9ca5dd46177641255e5cd28e164ebf6 /include/linux/gfp.h
parent27ef71dc2229797478a5969437c4e4421b87c708 (diff)
[PATCH] uml: Uml base patch
The main part of UML; it is the last distributed patch for 2.6.7 Removes skas support from the main UML patch; apply or get conflicts. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade_spam@yahoo.it> Cc: Jeff Dike <jdike@addtoit.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/gfp.h')
-rw-r--r--include/linux/gfp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/gfp.h b/include/linux/gfp.h
index 8980d1fd7181..600f83c80aad 100644
--- a/include/linux/gfp.h
+++ b/include/linux/gfp.h
@@ -73,6 +73,11 @@ struct vm_area_struct;
* For the normal case of non-DISCONTIGMEM systems the NODE_DATA() gets
* optimized to &contig_page_data at compile-time.
*/
+
+#ifndef HAVE_ARCH_FREE_PAGE
+static inline void arch_free_page(struct page *page, int order) { }
+#endif
+
extern struct page *
FASTCALL(__alloc_pages(unsigned int, unsigned int, struct zonelist *));