Thread (8 messages) 8 messages, 5 authors, 2012-10-29

Re: [PATCH] asm-generic/io.h: remove asm/cacheflush.h include

From: James Hogan <hidden>
Date: 2012-10-29 09:28:16
Also in: lkml

On 29/10/12 01:28, guanxuetao@mprc.pku.edu.cn wrote:
quoted
Including <asm/cacheflush.h> from <asm-generic/io.h> prevents
cacheflush.h being able to use I/O functions like readl and writel due
to circular include dependencies. It doesn't appear as if anything from
cacheflush.h is actually used by the generic io.h, so remove the
include.

I've compile tested a defconfig compilation of blackfin, openrisc (which
needed <asm/pgtable.h> including from it's <asm/io.h> to get the PAGE_*
definitions), and xtensa.

Other architectures which use asm-generic/io.h are score and unicore32,
and looking at their io.h I don't see any obvious problems.

Signed-off-by: James Hogan <redacted>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Jonas Bonn <jonas@southpole.se>
Cc: Chris Zankel <chris@zankel.net>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: Mike Frysinger <redacted>
Cc: Chen Liqin <redacted>
Cc: Lennox Wu <redacted>
Cc: Guan Xuetao <redacted>
Acked-by: Guan Xuetao <redacted>
Thanks Guan

Cheers
James
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help