diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2006-03-23 17:36:59 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-03-27 14:48:06 +1100 |
commit | 7c92943c7b6c42fa631ac2b67aeb507e727cd75b (patch) | |
tree | 6fcfee97618ff9b2d23d639a825b62e935028496 /fs/binfmt_misc.c | |
parent | 5d5d7727a8cde78f798ecf04bac8031eff536f9d (diff) | |
download | linux-7c92943c7b6c42fa631ac2b67aeb507e727cd75b.tar.gz linux-7c92943c7b6c42fa631ac2b67aeb507e727cd75b.tar.bz2 linux-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 'fs/binfmt_misc.c')
0 files changed, 0 insertions, 0 deletions