aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/sstep.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2006-03-23 17:36:59 +1100
committerPaul Mackerras <paulus@samba.org>2006-03-27 14:48:06 +1100
commit7c92943c7b6c42fa631ac2b67aeb507e727cd75b (patch)
tree6fcfee97618ff9b2d23d639a825b62e935028496 /arch/powerpc/lib/sstep.c
parent[SPARC64]: Kill duplicate exports of string library functions. (diff)
downloadlinux-dev-7c92943c7b6c42fa631ac2b67aeb507e727cd75b.tar.xz
linux-dev-7c92943c7b6c42fa631ac2b67aeb507e727cd75b.zip
[PATCH] powerpc: work around sparse warnings in cputable.h
Christoph noticed that sparse warned about all the enum tags in cuptable.h that had values that required them to be type log. (enum tags are ints according to the standard.) This patch attempts to fix them in the least intrusive way possible by turning them all into #defines except for the 32 bit CPU_FTRS_POSSIBLE and CPU_FTRS_ALWAYS which are hard to construct that way. This works because these last two contain no bits above 2^31. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/lib/sstep.c')
0 files changed, 0 insertions, 0 deletions