All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 4/14] cpumask: use struct cpumask rather than the deprecated cpumask_t
@ 2009-11-03  4:24 Rusty Russell
  2009-11-04 12:15 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: Rusty Russell @ 2009-11-03  4:24 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: linux-kernel, Andrew Morton, Ingo Molnar, Andrew Morton


Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
To: Ingo Molnar <mingo@elte.hu>
---
 arch/x86/include/asm/msr.h |    4 ++--
 arch/x86/lib/msr.c         |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/x86/include/asm/msr.h b/arch/x86/include/asm/msr.h
--- a/arch/x86/include/asm/msr.h
+++ b/arch/x86/include/asm/msr.h
@@ -247,8 +247,8 @@ do {                                    
 #ifdef CONFIG_SMP
 int rdmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h);
 int wrmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h);
-void rdmsr_on_cpus(const cpumask_t *mask, u32 msr_no, struct msr *msrs);
-void wrmsr_on_cpus(const cpumask_t *mask, u32 msr_no, struct msr *msrs);
+void rdmsr_on_cpus(const struct cpumask *mask, u32 msr_no, struct msr *msrs);
+void wrmsr_on_cpus(const struct cpumask *mask, u32 msr_no, struct msr *msrs);
 int rdmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h);
 int wrmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h);
 int rdmsr_safe_regs_on_cpu(unsigned int cpu, u32 regs[8]);
diff --git a/arch/x86/lib/msr.c b/arch/x86/lib/msr.c
--- a/arch/x86/lib/msr.c
+++ b/arch/x86/lib/msr.c
@@ -78,7 +78,7 @@ EXPORT_SYMBOL(wrmsr_on_cpu);
  * @msrs:       array of MSR values
  *
  */
-void rdmsr_on_cpus(const cpumask_t *mask, u32 msr_no, struct msr *msrs)
+void rdmsr_on_cpus(const struct cpumask *mask, u32 msr_no, struct msr *msrs)
 {
 	struct msr_info rv;
 	int this_cpu;
@@ -107,7 +107,7 @@ EXPORT_SYMBOL(rdmsr_on_cpus);
  * @msrs:       array of MSR values
  *
  */
-void wrmsr_on_cpus(const cpumask_t *mask, u32 msr_no, struct msr *msrs)
+void wrmsr_on_cpus(const struct cpumask *mask, u32 msr_no, struct msr *msrs)
 {
 	struct msr_info rv;
 	int this_cpu;


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 4/14] cpumask: use struct cpumask rather than the deprecated cpumask_t
  2009-11-03  4:24 [PATCH 4/14] cpumask: use struct cpumask rather than the deprecated cpumask_t Rusty Russell
@ 2009-11-04 12:15 ` Ingo Molnar
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2009-11-04 12:15 UTC (permalink / raw)
  To: Rusty Russell; +Cc: linux-kernel, Andrew Morton, Ingo Molnar


* Rusty Russell <rusty@rustcorp.com.au> wrote:

> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
> To: Ingo Molnar <mingo@elte.hu>
> ---
>  arch/x86/include/asm/msr.h |    4 ++--
>  arch/x86/lib/msr.c         |    4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)

Mind sending this against latest -tip? We already have:

  b8a4754: x86, msr: Unify rdmsr_on_cpus/wrmsr_on_cpus

which makes your patch not apply:

 patching file arch/x86/include/asm/msr.h
 Hunk #1 FAILED at 247.
 1 out of 1 hunk FAILED -- rejects in file arch/x86/include/asm/msr.h
 patching file arch/x86/lib/msr.c
 Hunk #1 FAILED at 78.
 Hunk #2 FAILED at 107.
 2 out of 2 hunks FAILED -- rejects in file arch/x86/lib/msr.c

Thanks,

	Ingo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-04 12:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-03  4:24 [PATCH 4/14] cpumask: use struct cpumask rather than the deprecated cpumask_t Rusty Russell
2009-11-04 12:15 ` Ingo Molnar

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.