diff options
author | Helge Deller <deller@parisc-linux.org> | 2006-03-27 14:52:14 -0500 |
---|---|---|
committer | Kyle McMartin <kyle@hera.kernel.org> | 2006-04-21 18:20:32 -0400 |
commit | b2d6b9fb35bf670df8049f0b3d4d306bf2d454da (patch) | |
tree | ad0ab344a8e47d8ded5c626433d6d03ca6b44c21 | |
parent | e74eb808ba64610d4983ddd8b5b9a159d178aa8e (diff) |
[PARISC] EISA regions must be mapped NO_CACHE
Signed-off-by: Helge Deller <deller@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
-rw-r--r-- | arch/parisc/mm/ioremap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/parisc/mm/ioremap.c b/arch/parisc/mm/ioremap.c index 0db12818d7bc..27384567a1d0 100644 --- a/arch/parisc/mm/ioremap.c +++ b/arch/parisc/mm/ioremap.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * arch/parisc/mm/ioremap.c | 2 | * arch/parisc/mm/ioremap.c |
3 | * | 3 | * |
4 | * (C) Copyright 1995 1996 Linus Torvalds | 4 | * (C) Copyright 1995 1996 Linus Torvalds |
5 | * (C) Copyright 2001 Helge Deller <deller@gmx.de> | 5 | * (C) Copyright 2001-2006 Helge Deller <deller@gmx.de> |
6 | * (C) Copyright 2005 Kyle McMartin <kyle@parisc-linux.org> | 6 | * (C) Copyright 2005 Kyle McMartin <kyle@parisc-linux.org> |
7 | */ | 7 | */ |
8 | 8 | ||
@@ -138,6 +138,7 @@ void __iomem * __ioremap(unsigned long phys_addr, unsigned long size, unsigned l | |||
138 | if ((phys_addr >= 0x00080000 && end < 0x000fffff) || | 138 | if ((phys_addr >= 0x00080000 && end < 0x000fffff) || |
139 | (phys_addr >= 0x00500000 && end < 0x03bfffff)) { | 139 | (phys_addr >= 0x00500000 && end < 0x03bfffff)) { |
140 | phys_addr |= F_EXTEND(0xfc000000); | 140 | phys_addr |= F_EXTEND(0xfc000000); |
141 | flags |= _PAGE_NO_CACHE; | ||
141 | } | 142 | } |
142 | #endif | 143 | #endif |
143 | 144 | ||