projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a94361
)
x86, msr, cpumask: Use struct cpumask rather than the deprecated cpumask_t
author
Rusty Russell
<rusty@rustcorp.com.au>
Thu, 5 Nov 2009 12:15:41 +0000
(22:45 +1030)
committer
Ingo Molnar
<mingo@elte.hu>
Sun, 8 Nov 2009 10:58:38 +0000
(11:58 +0100)
This makes the declarations match the definitions, which already
use 'struct cpumask'.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Borislav Petkov <borislav.petkov@amd.com>
LKML-Reference: <
200911052245
.41803.rusty@rustcorp.com.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/msr.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/include/asm/msr.h
b/arch/x86/include/asm/msr.h
index 9a00219b331a71ea2c3c2ded812fd73e148149d0..5bef931f8b1410f535e71faa1cdb64092390d593 100644
(file)
--- a/
arch/x86/include/asm/msr.h
+++ b/
arch/x86/include/asm/msr.h
@@
-264,12
+264,12
@@
static inline int wrmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h)
wrmsr(msr_no, l, h);
return 0;
}
-static inline void rdmsr_on_cpus(const
cpumask_t
*m, u32 msr_no,
+static inline void rdmsr_on_cpus(const
struct cpumask
*m, u32 msr_no,
struct msr *msrs)
{
rdmsr_on_cpu(0, msr_no, &(msrs[0].l), &(msrs[0].h));
}
-static inline void wrmsr_on_cpus(const
cpumask_t
*m, u32 msr_no,
+static inline void wrmsr_on_cpus(const
struct cpumask
*m, u32 msr_no,
struct msr *msrs)
{
wrmsr_on_cpu(0, msr_no, msrs[0].l, msrs[0].h);