aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/process.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2006-03-23 01:36:59 -0500
committerPaul Mackerras <paulus@samba.org>2006-03-26 22:48:06 -0500
commit7c92943c7b6c42fa631ac2b67aeb507e727cd75b (patch)
tree6fcfee97618ff9b2d23d639a825b62e935028496 /arch/powerpc/kernel/process.c
parent5d5d7727a8cde78f798ecf04bac8031eff536f9d (diff)
[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/kernel/process.c')
0 files changed, 0 insertions, 0 deletions