Skip to contentSkip to conversation

A little bug in macro __arch_ioremap.

PATCH New Terry Lv 2 participants 2 messages May 6, 2010 – Jun 22, 2010 Arm (32-bit)

lore
Share & tools
lore

Terry Lv

author
#0 lore raw

PATCH 1/1 A little bug in macro __arch_ioremap.

---
 arch/arm/include/asm/io.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/include/asm/io.h +1 -1
index 0a4b5be..5122210 100644
@@ -253,7 +253,7 @@ extern void __iounmap(void *addr);
 	unsigned long _off = (off), _size = (sz);		\
 	void *_ret = (void *)0;					\
 	if (iomem_valid_addr(_off, _size))			\
-		_ret = __ioremap(iomem_to_phys(_off),_size,0);	\
+		_ret = __ioremap(iomem_to_phys(_off),_size,nocache);	\
 	_ret;							\
  })
 
Signature · 1 line
1.6.0.4
#1 lore raw

PATCH 1/1 A little bug in macro __arch_ioremap.

Dear Terry Lv,

Quoted 4 lines · In message <[email protected]> you wrote:
---
 arch/arm/include/asm/io.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The sooner our happiness together begins, the longer it will last.
	-- Miramanee, "The Paradise Syndrome", stardate 4842.6