[parisc-linux] 2.4.23 some tested backport (pgalloc.h)
Joel Soete
soete.joel@tiscali.be
Thu Dec 4 09:56:08 MST 2003
--========/3FB25B960000DA45/mail.tiscali.be
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Hi pa,
iirc this a Randolph's patch which I try to backport and test seems ok
=========><=========
--- linux-2.4.23-pa1/include/asm-parisc/pgalloc.h 2003-03-10 08:02:19.000000000
+0100
+++ linux-2.4.23-rc5-pa17/include/asm-parisc/pgalloc.h 2003-12-04 11:06:31.000000000
+0100
@@ -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)
=========><=========
hth,
Joel
-------------------------------------------------------------------------
Tiscali ADSL: 12 mois à 29,50 /mois! L'Internet rapide, c'est pour tout
le monde.
http://reg.tiscali.be/default.asp?lg=fr
--========/3FB25B960000DA45/mail.tiscali.be
Content-Type: application/octet-stream
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="include_asm-parisc_pgalloc.h.patch"
LS0tIGxpbnV4LTIuNC4yMy1wYTEvaW5jbHVkZS9hc20tcGFyaXNjL3BnYWxsb2MuaAkyMDAzLTAz
LTEwIDA4OjAyOjE5LjAwMDAwMDAwMCArMDEwMAorKysgbGludXgtMi40LjIzLXJjNS1wYTE3L2lu
Y2x1ZGUvYXNtLXBhcmlzYy9wZ2FsbG9jLmgJMjAwMy0xMi0wNCAxMTowNjozMS4wMDAwMDAwMDAg
KzAxMDAKQEAgLTEyNCw4ICsxMjQsOSBAQAogCiAjZGVmaW5lIGZsdXNoX2ljYWNoZ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