[adm5120] Edimax BR-6104K/KP specific fixes
[openwrt.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;
This page took 0.051221 seconds and 5 git commands to generate.