Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.10 /mm/numa.c

Filename:/mm/numa.c
Lines Added:4
Lines Deleted:4
Also changed in: (Previous) 2.4.10-pre15  2.4.10-pre14  2.4.10-pre13  2.4.10-pre12  2.4.10-pre11  2.4.6 
(Following) 2.4.10-ac1  2.4.10-ac2  2.4.10-ac3  2.4.10-ac4  2.4.10-ac5  2.4.10-ac6 

Location
[  2.4.10
  [  mm
     o  numa.c

Patch

diff -u --recursive --new-file v2.4.9/linux/mm/numa.c linux/mm/numa.c
--- v2.4.9/linux/mm/numa.c   Tue Jul  3 17:08:22 2001
+++ linux/mm/numa.c   Mon Sep 17 16:15:02 2001
@@ -31,7 +31,7 @@
 
 #endif /* !CONFIG_DISCONTIGMEM */
 
-struct page * alloc_pages_node(int nid, int gfp_mask, unsigned long order)
+struct page * alloc_pages_node(int nid, unsigned int gfp_mask, unsigned int order)
 {
 #ifdef CONFIG_NUMA
    return __alloc_pages(gfp_mask, order, NODE_DATA(nid)->node_zonelists + (gfp_mask & GFP_ZONEMASK));
@@ -82,8 +82,8 @@
    memset(pgdat->valid_addr_bitmap, 0, size);
 }
 
-static struct page * alloc_pages_pgdat(pg_data_t *pgdat, int gfp_mask,
-   unsigned long order)
+static struct page * alloc_pages_pgdat(pg_data_t *pgdat, unsigned int gfp_mask,
+   unsigned int order)
 {
    return __alloc_pages(gfp_mask, order, pgdat->node_zonelists + (gfp_mask & GFP_ZONEMASK));
 }
@@ -92,7 +92,7 @@
  * This can be refined. Currently, tries to do round robin, instead
  * should do concentratic circle search, starting from current node.
  */
-struct page * _alloc_pages(unsigned int gfp_mask, unsigned long order)
+struct page * _alloc_pages(unsigned int gfp_mask, unsigned int order)
 {
    struct page *ret = 0;
    pg_data_t *start, *temp;


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.