X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fspca5xx-le%2Fpatches%2F100-compile_pud_shift.patch;fp=package%2Fspca5xx-le%2Fpatches%2F100-compile_pud_shift.patch;h=91913a7993815c3e3519558a923245e6da0f1a41;hb=a9b3984510280b23d8c3c2f7594ab7ee69f2f538;hp=0000000000000000000000000000000000000000;hpb=e291f45a8e694a8edb3ee0937a38bd7ba8e03dc8;p=openwrt-10.03%2F.git diff --git a/package/spca5xx-le/patches/100-compile_pud_shift.patch b/package/spca5xx-le/patches/100-compile_pud_shift.patch new file mode 100644 index 000000000..91913a799 --- /dev/null +++ b/package/spca5xx-le/patches/100-compile_pud_shift.patch @@ -0,0 +1,21 @@ +diff -Naur spca5xx-le/spca_core.c spca5xx-le-new/spca_core.c +--- spca5xx-le/spca_core.c 2007-06-03 21:30:29.000000000 +0100 ++++ spca5xx-le-new/spca_core.c 2008-01-06 12:48:08.000000000 +0000 +@@ -535,7 +535,7 @@ + + if (!pgd_none (*pgd)) + { +-#if PUD_SHIFT ++#ifdef PUD_SHIFT + pud_t *pud = pud_offset (pgd, adr); + if (!pud_none (*pud)) + { +@@ -552,7 +552,7 @@ + ret = (unsigned long) page_address (pte_page (pte)); + ret |= (adr & (PAGE_SIZE - 1)); + } +-#if PUD_SHIFT ++#ifdef PUD_SHIFT + } + #endif + }