summaryrefslogtreecommitdiff
path: root/arch/powerpc/lib
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2006-03-23 06:36:59 (GMT)
committerPaul Mackerras <paulus@samba.org>2006-03-27 03:48:06 (GMT)
commit7c92943c7b6c42fa631ac2b67aeb507e727cd75b (patch)
tree6fcfee97618ff9b2d23d639a825b62e935028496 /arch/powerpc/lib
parent5d5d7727a8cde78f798ecf04bac8031eff536f9d (diff)
downloadlinux-fsl-qoriq-7c92943c7b6c42fa631ac2b67aeb507e727cd75b.tar.xz
[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')
0 files changed, 0 insertions, 0 deletions