All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] 2.4.23 some tested backport (pgalloc.h)
@ 2003-12-04  9:56 Joel Soete
  2003-12-04 10:20 ` Jan-Benedict Glaw
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Joel Soete @ 2003-12-04  9:56 UTC (permalink / raw)
  To: parisc-linux

[-- Attachment #1: Type: text/plain, Size: 1086 bytes --]

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



[-- Attachment #2: include_asm-parisc_pgalloc.h.patch --]
[-- Type: application/octet-stream, Size: 749 bytes --]

--- 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)
 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-12-04 22:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-04  9:56 [parisc-linux] 2.4.23 some tested backport (pgalloc.h) Joel Soete
2003-12-04 10:20 ` Jan-Benedict Glaw
2003-12-04 10:38   ` Joel Soete
2003-12-04 21:00 ` Carlos O'Donell
2003-12-04 22:04 ` Randolph Chung

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.