cpmac: patch to reimplement rx ring with EOQ markers to avoid reset storms (closes...
[openwrt.git] / package / spca5xx-le / patches / 100-compile_pud_shift.patch
1 diff -Naur spca5xx-le/spca_core.c spca5xx-le-new/spca_core.c
2 --- spca5xx-le/spca_core.c 2007-06-03 21:30:29.000000000 +0100
3 +++ spca5xx-le-new/spca_core.c 2008-01-06 12:48:08.000000000 +0000
4 @@ -535,7 +535,7 @@
5
6 if (!pgd_none (*pgd))
7 {
8 -#if PUD_SHIFT
9 +#ifdef PUD_SHIFT
10 pud_t *pud = pud_offset (pgd, adr);
11 if (!pud_none (*pud))
12 {
13 @@ -552,7 +552,7 @@
14 ret = (unsigned long) page_address (pte_page (pte));
15 ret |= (adr & (PAGE_SIZE - 1));
16 }
17 -#if PUD_SHIFT
18 +#ifdef PUD_SHIFT
19 }
20 #endif
21 }
This page took 0.055329 seconds and 5 git commands to generate.