* [parisc-linux] Backport tausq patch
@ 2003-09-24 16:45 Joel Soete
0 siblings, 0 replies; only message in thread
From: Joel Soete @ 2003-09-24 16:45 UTC (permalink / raw)
To: parisc-linux; +Cc: tausq
Hi Randolph and all,
Here is the backport of your 2.6 patch:
--- pgalloc.h.orig 2003-09-24 18:35:25.000000000 +0200
+++ pgalloc.h 2003-09-24 18:35:06.000000000 +0200
@@ -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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-09-24 16:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-24 16:45 [parisc-linux] Backport tausq patch Joel Soete
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox