Thread (76 messages) 76 messages, 4 authors, 2015-10-12

Re: [PATCH v2 15/25] powerpc/8xx: move 8xx SPRN defines into reg_8xx.h and add some missing ones

From: Christophe Leroy <hidden>
Date: 2015-10-06 14:35:50
Also in: lkml


Le 29/09/2015 02:03, Scott Wood a écrit :
On Tue, Sep 22, 2015 at 06:50:58PM +0200, Christophe Leroy wrote:
quoted
Move 8xx SPRN defines into reg_8xx.h and add some missing ones

Signed-off-by: Christophe Leroy <redacted>
---
No change in v2
Why are they being moved?  Why are they being separated from the bit
definitions?
It was to keep asm/reg_8xx.h self sufficient for the following patch.

Also because including asm/mmu-8xx.h creates circular inclusion issue (mmu-8xx.h needs page.h which includes page-32.h, page-32.h includes cache.h, cache.h include reg.h which includes reg_8xx). The circle starts with an inclusion of asm/cache.h by linux/cache.h, himself included by linux/printk.h, and I end up with 'implicit declaration' issues.

How can I fix that ?

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