summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAlexander Viro <viro@www.linux.org.uk>2004-07-26 07:03:51 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-07-26 07:03:51 -0700
commit32df7c9eff2deb4dba46ee9e6de2f64f146cbeb2 (patch)
tree50f208e1e92707560e74effc44fe62003678e372 /include/linux
parentc86b222c095265cf5df75328cbea99bb6da40b5f (diff)
[PATCH] asm-ppc/reg.h namespace pollution fixes
asm-ppc/reg.h defines pollutes namespace like there's no tomorrow; among other things there are LR SR0...SR15 DEC etc. That breaks quite a few drivers that should otherwise work on ppc. SR... and LR were never used by ppc code; commented out in reg.h (note that they are just aliases for SPRN_SR... and SPRN_LR). RPA commented out and its instances in ppc code (all four of them) replaced with SPRN_RPA. Ditto for DEC. The rest of the offenders (DAR and PVR) are left alone for now and #undef'ed in drivers in question. We probably want to rip all these guys out of reg.h and convert ppc users to SPRN_... forms - file ends up included in alot of places and namespace pollution like that is a Bad Thing(tm). Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions