cpumask: use struct cpumask rather than the deprecated cpumask_t
PATCH 1/1 cpumask: use struct cpumask rather than the deprecated cpumask_t
This makes the declarations match the definitions, which already use 'struct cpumask'.
Signed-off-by Rusty Russell <[email protected]>
--- arch/x86/include/asm/msr.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/include/asm/msr.h +2 -2
@@ -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);
Signature · 1 line
1.6.3.3
Quoted 2 lines · Rusty Russell
This makes the declarations match the definitions, which already use 'struct cpumask'.
Oops, I missed those, thanks.
Acked-by Borislav Petkov <[email protected]>
Signature · 8 lines
Regards/Gruss, Boris. Operating | Advanced Micro Devices GmbH System | Karl-Hammerschmidt-Str. 34, 85609 Dornach b. München, Germany Research | Geschäftsführer: Andrew Bowd, Thomas M. McCoy, Giuliano Meroni Center | Sitz: Dornach, Gemeinde Aschheim, Landkreis München (OSRC) | Registergericht München, HRB Nr. 43632
[tip:x86/cpu] x86, msr, cpumask: Use struct cpumask rather than the deprecated cpumask_t
In reply to Rusty RussellCommit-ID: 0d0fbbddcc27c062815732b38c44b544e656c799 Gitweb: http://git.kernel.org/tip/0d0fbbddcc27c062815732b38c44b544e656c799 Author: Rusty Russell <[email protected]> AuthorDate: Thu, 5 Nov 2009 22:45:41 +1030 Committer: Ingo Molnar <[email protected]> CommitDate: Sun, 8 Nov 2009 11:58:38 +0100
x86, msr, cpumask: Use struct cpumask rather than the deprecated cpumask_t
This makes the declarations match the definitions, which already use 'struct cpumask'.
Signed-off-by Rusty Russell <[email protected]>
Acked-by Borislav Petkov <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by Ingo Molnar <[email protected]>
--- arch/x86/include/asm/msr.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/include/asm/msr.h +2 -2
@@ -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);