Hi all,
This trivial patch fixes compilation with new kernel 2.6.21.
An upstream commit
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=6f8c480f998a619082f18407f8d7f4c29e94dc6e#patch22
adds functions with parameters defined as u32, unknown type at this
point of the file.
This patch simply defines it before including <asm/msr.h>.
As I heard/read, it's uncommon to directly include a file from
<asm/..>, and I don't know if you can achieve with a cleaner solution
but this simple one has been tested and works ok.
--
Guillaume LECERF
GeeXboX developer
|