H. Peter Anvin b0b73cb41d 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>
2007-05-09 12:49:33 -07:00
..
2007-05-08 11:15:08 -07:00
2007-05-09 12:30:56 -07:00
2007-05-08 11:15:20 -07:00
2007-05-09 12:30:56 -07:00
2007-05-08 11:15:20 -07:00
2007-05-09 12:30:56 -07:00
2007-05-09 12:30:56 -07:00
2007-05-08 11:15:20 -07:00
2007-05-09 12:30:56 -07:00
2007-05-09 12:30:56 -07:00
2007-05-08 11:15:20 -07:00
2007-05-09 12:30:57 -07:00
2007-05-08 11:15:20 -07:00
2007-05-08 11:15:20 -07:00
2007-05-09 12:30:56 -07:00
2007-05-08 11:15:20 -07:00
2007-04-27 14:23:33 +03:00
2007-05-08 11:15:09 -07:00
2007-05-07 12:12:50 -07:00
2007-03-14 08:25:52 +01:00