summaryrefslogtreecommitdiffstats
path: root/include/asm-alpha/sembuf.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-05-09 09:02:11 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-09 21:49:33 +0200
commitb0b73cb41d56ee391f20cbd3e4304e2303a8829b (patch)
tree69d6ebfed9c252e8689001a82dc438a74f89fd46 /include/asm-alpha/sembuf.h
parenti386: remove unused rdtsc() macro (diff)
downloadlinux-b0b73cb41d56ee391f20cbd3e4304e2303a8829b.tar.xz
linux-b0b73cb41d56ee391f20cbd3e4304e2303a8829b.zip
i386: msr.h: be paranoid about types and parentheses
When implementing things as macros, make sure we use typecasts and parentheses where needed. The macros as defined were vulnerable to surreptitious promotion causing problems. Avoid macros where practical; e.g. wrmsr() can be an inline instead. Signed-off-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-alpha/sembuf.h')
0 files changed, 0 insertions, 0 deletions