cpumask: make irq_set_affinity() take a const struct cpumask

Previous thread: x86: enable MAXSMP by Linux Kernel Mailing List on Friday, January 2, 2009 - 2:05 pm. (1 message)

Next thread: cpumask: convert struct clock_event_device to cpumask pointers. by Linux Kernel Mailing List on Friday, January 2, 2009 - 2:05 pm. (1 message)
From: Linux Kernel Mailing List
Date: Friday, January 2, 2009 - 2:05 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0de265...
Commit:     0de26520c7cabf36e1de090ea8092f011a6106ce
Parent:     29c0177e6a4ac094302bed54a1d4bbb6b740a9ef
Author:     Rusty Russell <rusty@rustcorp.com.au>
AuthorDate: Sat Dec 13 21:20:26 2008 +1030
Committer:  Rusty Russell <rusty@rustcorp.com.au>
CommitDate: Sat Dec 13 21:20:26 2008 +1030

    cpumask: make irq_set_affinity() take a const struct cpumask
    
    Impact: change existing irq_chip API
    
    Not much point with gentle transition here: the struct irq_chip's
    setaffinity method signature needs to change.
    
    Fortunately, not widely used code, but hits a few architectures.
    
    Note: In irq_select_affinity() I save a temporary in by mangling
    irq_desc[irq].affinity directly.  Ingo, does this break anything?
    
    (Folded in fix from KOSAKI Motohiro)
    
    Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    Signed-off-by: Mike Travis <travis@sgi.com>
    Reviewed-by: Grant Grundler <grundler@parisc-linux.org>
    Acked-by: Ingo Molnar <mingo@redhat.com>
    Cc: ralf@linux-mips.org
    Cc: grundler@parisc-linux.org
    Cc: jeremy@xensource.com
    Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
---
 arch/alpha/kernel/irq.c               |    2 +-
 arch/alpha/kernel/sys_dp264.c         |    8 ++--
 arch/alpha/kernel/sys_titan.c         |    4 +-
 arch/arm/common/gic.c                 |    4 +-
 arch/arm/kernel/irq.c                 |    2 +-
 arch/arm/oprofile/op_model_mpcore.c   |    4 +-
 arch/cris/arch-v32/kernel/irq.c       |    4 +-
 arch/ia64/hp/sim/hpsim_irq.c          |    2 +-
 arch/ia64/kernel/iosapic.c            |   12 +++---
 arch/ia64/kernel/irq.c                |    9 ++--
 arch/ia64/kernel/msi_ia64.c           |   12 +++---
 arch/ia64/kernel/smpboot.c            |    4 +-
 arch/ia64/sn/kernel/irq.c             |    6 +-
 arch/ia64/sn/kernel/msi_sn.c          |    7 ++-
 ...
Previous thread: x86: enable MAXSMP by Linux Kernel Mailing List on Friday, January 2, 2009 - 2:05 pm. (1 message)

Next thread: cpumask: convert struct clock_event_device to cpumask pointers. by Linux Kernel Mailing List on Friday, January 2, 2009 - 2:05 pm. (1 message)