Backport tausq patch
Hi Randolph and all,
Here is the backport of your 2.6 patch:
pgalloc.h renamed from pgalloc.h.orig +0 -0
@@ -124,8 +124,9 @@#define flush_icache_page (vma,page) do { flush_kernel_dcache_page(page_address(page));
flush_kernel_icache_page(page_address(page)); } while (0)
-#define flush_icache_user_range(vma, page, addr, len) \
- flush_user_icache_range(addr, addr + len);
+#define flush_icache_user_range(vma, page, addr, len) do { \
+ flush_user_dcache_range(addr, addr + len); \
+ flush_user_icache_range(addr, addr + len); } while (0)
#define flush_icache_range(s,e) do { flush_kernel_dcache_range_asm(s,e);flush_kernel_icache_range_asm(s,e); } while (0)
I test it successfully with 32 and 64 (UP) kernels.
Don't know yet if it will help SMP boot of the N (I will test tomorrow)
hth,
Joel
-------------------------------------------------------------------------
L'Internet rapide, c'est pour tout le monde. Tiscali ADSL, 19,50 Euro pendant 3 mois! http://reg.tiscali.be/default.asp?lg=fr