Skip to contentSkip to conversation

cpumask: use struct cpumask rather than the deprecated cpumask_t

PATCH In review Rusty Russell 2 participants 3 messages Nov 5, 2009 – Nov 8, 2009 x86

lore
Share & tools
lore
#0 lore raw

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'.

---
 arch/x86/include/asm/msr.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/include/asm/msr.h +2 -2
index 9a00219..5bef931 100644
@@ -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
Acked-by on v1 1/1
#1 lore raw
Quoted 2 lines · Rusty Russell

This makes the declarations match the definitions, which already use 'struct cpumask'.

Oops, I missed those, thanks.

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
#2 lore raw

[tip:x86/cpu] x86, msr, cpumask: Use struct cpumask rather than the deprecated cpumask_t

In reply to Rusty Russell
Commit-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'.

LKML-Reference: <[email protected]>

---
 arch/x86/include/asm/msr.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/include/asm/msr.h +2 -2
index 9a00219..5bef931 100644
@@ -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);