* [PATCH] cpumask: use struct cpumask rather than the deprecated cpumask_t
@ 2009-11-05 12:15 Rusty Russell
2009-11-05 12:54 ` Borislav Petkov
2009-11-08 11:06 ` [tip:x86/cpu] x86, msr, cpumask: Use " tip-bot for Rusty Russell
0 siblings, 2 replies; 3+ messages in thread
From: Rusty Russell @ 2009-11-05 12:15 UTC (permalink / raw)
To: Ingo Molnar; +Cc: linux-kernel, x86
This makes the declarations match the definitions, which already use
'struct cpumask'.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
---
arch/x86/include/asm/msr.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/include/asm/msr.h b/arch/x86/include/asm/msr.h
index 9a00219..5bef931 100644
--- 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);
--
1.6.3.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] cpumask: use struct cpumask rather than the deprecated cpumask_t
2009-11-05 12:15 [PATCH] cpumask: use struct cpumask rather than the deprecated cpumask_t Rusty Russell
@ 2009-11-05 12:54 ` Borislav Petkov
2009-11-08 11:06 ` [tip:x86/cpu] x86, msr, cpumask: Use " tip-bot for Rusty Russell
1 sibling, 0 replies; 3+ messages in thread
From: Borislav Petkov @ 2009-11-05 12:54 UTC (permalink / raw)
To: Rusty Russell; +Cc: Ingo Molnar, linux-kernel, x86
On Thu, Nov 05, 2009 at 10:45:41PM +1030, Rusty Russell wrote:
> This makes the declarations match the definitions, which already use
> 'struct cpumask'.
Oops, I missed those, thanks.
Acked-by: Borislav Petkov <borislav.petkov@amd.com>
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [tip:x86/cpu] x86, msr, cpumask: Use struct cpumask rather than the deprecated cpumask_t
2009-11-05 12:15 [PATCH] cpumask: use struct cpumask rather than the deprecated cpumask_t Rusty Russell
2009-11-05 12:54 ` Borislav Petkov
@ 2009-11-08 11:06 ` tip-bot for Rusty Russell
1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Rusty Russell @ 2009-11-08 11:06 UTC (permalink / raw)
To: linux-tip-commits
Cc: linux-kernel, hpa, mingo, rusty, tglx, mingo, borislav.petkov
Commit-ID: 0d0fbbddcc27c062815732b38c44b544e656c799
Gitweb: http://git.kernel.org/tip/0d0fbbddcc27c062815732b38c44b544e656c799
Author: Rusty Russell <rusty@rustcorp.com.au>
AuthorDate: Thu, 5 Nov 2009 22:45:41 +1030
Committer: Ingo Molnar <mingo@elte.hu>
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 <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 | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/include/asm/msr.h b/arch/x86/include/asm/msr.h
index 9a00219..5bef931 100644
--- 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);
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-11-08 11:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-05 12:15 [PATCH] cpumask: use struct cpumask rather than the deprecated cpumask_t Rusty Russell
2009-11-05 12:54 ` Borislav Petkov
2009-11-08 11:06 ` [tip:x86/cpu] x86, msr, cpumask: Use " tip-bot for Rusty Russell
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.