From: H. Peter Anvin Date: Wed, 9 May 2007 07:02:11 +0000 (-0700) Subject: i386: msr.h: be paranoid about types and parentheses X-Git-Tag: v2.6.22-rc1~149 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0b73cb41d56ee391f20cbd3e4304e2303a8829b;p=pandora-kernel.git 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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed