[Lguest] [PATCH 7/24] consolidate msr.h

Steven Rostedt rostedt at goodmis.org
Tue Nov 20 17:16:45 EST 2007


On Tue, 20 Nov 2007, Ingo Molnar wrote:
>
> i dont think there's ever any true need (and good cause) to force
> integer type casts like that at the callee site.

Unless you mean we should do something like this:

static inline void __wrmsrl(unsigned int msr, unsigned long long val);
#define wrmsr(msr, val) __wrmsrl(msr, (unsigned long long)var)

-- Steve





More information about the Lguest mailing list