diff options
| author | H. Peter Anvin <[email protected]> | 2007-05-09 00:02:11 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-05-09 12:49:33 -0700 |
| commit | b0b73cb41d56ee391f20cbd3e4304e2303a8829b (patch) | |
| tree | 69d6ebfed9c252e8689001a82dc438a74f89fd46 /include/linux/debugobjects.h | |
| parent | 29bd44337799e4cb85aec5157a9c88a0da66642a (diff) | |
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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions