Commit 4a419866 authored by Dave Jones's avatar Dave Jones Committed by Dave Jones

[CPUFREQ] Use standard types in wrmsrl

parent 901d2345
...@@ -24,10 +24,10 @@ ...@@ -24,10 +24,10 @@
val |= ((u64)h__<<32); \ val |= ((u64)h__<<32); \
} while(0) } while(0)
static inline void wrmsrl (u32 msr, u64 val) static inline void wrmsrl (unsigned long msr, unsigned long long val)
{ {
u32 lo, hi; unsigned long lo, hi;
lo = (u32) val; lo = (unsigned long) val;
hi = val >> 32; hi = val >> 32;
wrmsr (msr, lo, hi); wrmsr (msr, lo, hi);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment