strip the kernel version suffix from target directories, except for brcm-2.4 (the...
[openwrt/svn-archive/archive.git] / target / linux / etrax / patches / cris / 007-nr_free_pages.patch
1 diff -urN linux-2.6.19.2.orig/mm/page_alloc.c linux-2.6.19.2/mm/page_alloc.c
2 --- linux-2.6.19.2.orig/mm/page_alloc.c 2007-05-20 03:26:41.000000000 +0200
3 +++ linux-2.6.19.2/mm/page_alloc.c 2007-05-20 03:28:22.000000000 +0200
4 @@ -1200,7 +1200,7 @@
5 unsigned int nr_free_pages(void)
6 {
7 unsigned int sum = 0;
8 - struct zone *zone;
9 + volatile struct zone *zone;
10
11 for_each_zone(zone)
12 sum += zone->free_pages;