From: "Joel Soete" <soete.joel@tiscali.be>
To: parisc-linux@lists.parisc-linux.org
Subject: [parisc-linux] 2.4.23 some tested backport (pgalloc.h)
Date: Thu, 4 Dec 2003 10:56:08 +0100 [thread overview]
Message-ID: <3FB25B960000DA45@ocpmta1.freegates.net> (raw)
[-- 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)
next reply other threads:[~2003-12-04 9:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-04 9:56 Joel Soete [this message]
2003-12-04 10:20 ` [parisc-linux] 2.4.23 some tested backport (pgalloc.h) 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3FB25B960000DA45@ocpmta1.freegates.net \
--to=soete.joel@tiscali.be \
--cc=parisc-linux@lists.parisc-linux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox