patch-1.3.4 linux/include/linux/mm.h
Next file: linux/include/linux/module.h
Previous file: linux/include/linux/fs.h
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Tue Jun 20 09:01:23 1995
- Orig file:
v1.3.3/linux/include/linux/mm.h
- Orig date:
Tue Jun 13 15:40:17 1995
diff -u --recursive --new-file v1.3.3/linux/include/linux/mm.h linux/include/linux/mm.h
@@ -149,9 +149,10 @@
* goes to clearing the page. If you want a page without the clearing
* overhead, just use __get_free_page() directly..
*/
-#define __get_free_page(priority) __get_free_pages((priority),0)
-extern unsigned long __get_free_pages(int priority, unsigned long gfporder);
-extern unsigned long __get_dma_pages(int priority, unsigned long gfporder);
+#define __get_free_page(priority) __get_free_pages((priority),0,~0UL)
+#define __get_dma_pages(priority, order) __get_free_pages((priority),(order),MAX_DMA_ADDRESS)
+extern unsigned long __get_free_pages(int priority, unsigned long gfporder, unsigned long max_addr);
+
extern inline unsigned long get_free_page(int priority)
{
unsigned long page;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this