Skip to contentSkip to conversation

namespace issues with asm-ppc/regs.h

DISCUSSION Kumar Gala 3 participants 3 messages Jul 27, 2004 – Jul 28, 2004

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

All,

Viro recently submitted some patches to 2.6 which removed some names space conflicts that existed between asm-ppc/regs.h (also asm-ppc64/regs.h) and various drivers. I'm proposing we remove all non SPRN_ scoped references for SPRs. I'm willing to cleanup the ppc32 side for this change, however I would appreciated someone willing to do the same for PPC64.

Let me know if we want to go down this path or if there is some other brilliant idea for resolving the namespace issue.

I'm also envious of Viro's ability to get C++ style comments into the linux kernel :)

- kumar

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 7 lines · Kumar Gala

Viro recently submitted some patches to 2.6 which removed some names space conflicts that existed between asm-ppc/regs.h (also asm-ppc64/regs.h) and various drivers. I'm proposing we remove all non SPRN_ scoped references for SPRs. I'm willing to cleanup the ppc32 side for this change, however I would appreciated someone willing to do the same for PPC64.

I wanted to do it too, but feel free to beat me on that

Quoted 5 lines

Let me know if we want to go down this path or if there is some other brilliant idea for resolving the namespace issue.

I'm also envious of Viro's ability to get C++ style comments into the linux kernel :)

--
Benjamin Herrenschmidt <[email protected]>

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/