Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

[PATCH] cpumask: use struct cpumask rather than the deprec..

 
   Soft32 Home -> Linux -> Kernel RSS
Next:  Libertas related kernel crash  
Author Message
Rusty Russell

External


Since: Sep 16, 2003
Posts: 590



(Msg. 1) Posted: Thu Nov 05, 2009 7:21 am
Post subject: [PATCH] cpumask: use struct cpumask rather than the deprecated cpumask_t
Archived from groups: linux>kernel (more info?)

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

Signed-off-by: Rusty Russell <rusty.TakeThisOut@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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo.TakeThisOut@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to top
Login to vote
Borislav Petkov

External


Since: Nov 10, 2008
Posts: 14



(Msg. 2) Posted: Thu Nov 05, 2009 7:21 am
Post subject: Re: [PATCH] cpumask: use struct cpumask rather than the deprecated cpumask_t [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.DeleteThis@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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo.DeleteThis@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to top
Login to vote
tip-bot for Rusty Russell

External


Since: Sep 24, 2009
Posts: 4



(Msg. 3) Posted: Sun Nov 08, 2009 5:20 am
Post subject: [tip:x86/cpu] x86, msr, cpumask: Use struct cpumask rather than the deprecated cpumask_t [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Commit-ID: 0d0fbbddcc27c062815732b38c44b544e656c799
Gitweb: http://git.kernel.org/tip/0d0fbbddcc27c062815732b38c44b544e656c799
Author: Rusty Russell <rusty.DeleteThis@rustcorp.com.au>
AuthorDate: Thu, 5 Nov 2009 22:45:41 +1030
Committer: Ingo Molnar <mingo.DeleteThis@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.DeleteThis@rustcorp.com.au>
Acked-by: Borislav Petkov <borislav.petkov.DeleteThis@amd.com>
LKML-Reference: <200911052245.41803.rusty.DeleteThis@rustcorp.com.au>
Signed-off-by: Ingo Molnar <mingo.DeleteThis@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);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo.DeleteThis@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Patch series to mark struct file_operations and struct ino.. - Hi, today a sizable portion of the "struct file_operations" variables in the kernel are const, but by far no...

[PATCH 2.6.19] struct seq_operations and struct file_opera.. - this trivial patch - moves some file_operations structs into the .rodata section - moves static strings from..

[PATCH] Add a struct key pointer to struct nameidata - Hi Al, I'd like you to consider approving something like the attached patch. It allows a key to be obtained by a..

[PATCH] backlight: Convert from struct class_device to str.. - Convert the backlight and LCD classes from struct class_device to struct device since class_device is scheduled for..

[PATCH] leds: Convert from struct class_device to struct d.. - Convert the LEDs class from struct class_device to struct device since class_device is scheduled for removal. ..

[RFC, PATCH] SLAB : [NUMA] keep nodeid in struct page inst.. - In order to avoid a cache miss in kmem_cache_free() on NUMA and reduce hot path length, we could exploit the following....
       Soft32 Home -> Linux -> Kernel All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]