27 Jul, 2011
1 commit
-
This allows us to move duplicated code in
(atomic_inc_not_zero() for now) toSigned-off-by: Arun Sharma
Reviewed-by: Eric Dumazet
Cc: Ingo Molnar
Cc: David Miller
Cc: Eric Dumazet
Acked-by: Mike Frysinger
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
31 Mar, 2011
1 commit
-
Fixes generated by 'codespell' and manually reviewed.
Signed-off-by: Lucas De Marchi
17 Dec, 2010
1 commit
-
Signed-off-by: Ralf Baechle
24 Sep, 2009
2 commits
-
Use the accessors rather than frobbing bits directly (the new versions
are const).Signed-off-by: Rusty Russell
Signed-off-by: Mike Travis -
We're weaning the core code off handing cpumask's around on-stack.
This introduces arch_send_call_function_ipi_mask(), and by defining
it, the old arch_send_call_function_ipi is defined by the core code.We also take the chance to wean the implementations off the
obsolescent for_each_cpu_mask(): making send_ipi_mask take the pointer
seemed the most natural way to ensure all implementations used
for_each_cpu.Signed-off-by: Rusty Russell
13 Dec, 2008
1 commit
-
Impact: cleanup
Each SMP arch defines these themselves. Move them to a central
location.Twists:
1) Some archs (m32, parisc, s390) set possible_map to all 1, so we add a
CONFIG_INIT_ALL_POSSIBLE for this rather than break them.2) mips and sparc32 '#define cpu_possible_map phys_cpu_present_map'.
Those archs simply have phys_cpu_present_map replaced everywhere.3) Alpha defined cpu_possible_map to cpu_present_map; this is tricky
so I just manipulate them both in sync.4) IA64, cris and m32r have gratuitous 'extern cpumask_t cpu_possible_map'
declarations.Signed-off-by: Rusty Russell
Reviewed-by: Grant Grundler
Tested-by: Tony Luck
Acked-by: Ingo Molnar
Cc: Mike Travis
Cc: ink@jurassic.park.msu.ru
Cc: rmk@arm.linux.org.uk
Cc: starvik@axis.com
Cc: tony.luck@intel.com
Cc: takata@linux-m32r.org
Cc: ralf@linux-mips.org
Cc: grundler@parisc-linux.org
Cc: paulus@samba.org
Cc: schwidefsky@de.ibm.com
Cc: lethal@linux-sh.org
Cc: wli@holomorphy.com
Cc: davem@davemloft.net
Cc: jdike@addtoit.com
Cc: mingo@redhat.com
29 Apr, 2008
2 commits
-
Signed-off-by: Chris Dearman
Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle -
It is not being used by Malta and shouldn't be needed for MIPSsim.
Signed-off-by: Chris Dearman
Signed-off-by: Ralf Baechle
29 Jan, 2008
2 commits
-
Signed-off-by: Ralf Baechle
-
Signed-off-by: Ralf Baechle
12 Oct, 2007
1 commit
-
Signed-off-by: Ralf Baechle
27 Aug, 2007
1 commit
-
MIPS doesn't do CPU hotplugging yet but since many of the functions don't
even have an __init let's fix this right.Signed-off-by: Ralf Baechle
04 Jul, 2007
1 commit
-
Signed-off-by: Ralf Baechle
15 Jun, 2007
1 commit
-
Support for performance counter overflow interrupt that is on a separate
interrupt from the timer.Signed-off-by: Chris Dearman
Signed-off-by: Ralf Baechle
07 Feb, 2007
1 commit
-
The irq_base for {mips,rm7k,rm9k}_cpu_irq_init() are constant on all
platforms and are same value on most platforms (0 or 16, depends on
CONFIG_I8259). Define them in asm-mips/mach-generic/irq.h and make
them customizable. This will save a few cycle on each CPU interrupt.A good side effect is removing some dependencies to MALTA in generic
SMTC code.Although MIPS_CPU_IRQ_BASE is customizable, this patch changes irq
mappings on DDB5477, EMMA2RH and MIPS_SIM, since really customizing
them might cause some header dependency problem and there seems no
good reason to customize it. So currently only VR41XX is using custom
MIPS_CPU_IRQ_BASE value, which is 0 regardless of CONFIG_I8259.Testing this patch on those platforms is greatly appreciated. Thank
you.Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle
30 Nov, 2006
1 commit
-
Further incorporation of generic irq framework. Replacing __do_IRQ()
by proper flow handler would make the irq handling path a bit simpler
and faster.* use generic_handle_irq() instead of __do_IRQ().
* use handle_level_irq for obvious level-type irq chips.
* use handle_percpu_irq for irqs marked as IRQ_PER_CPU.
* setup .eoi routine for irq chips possibly used with handle_percpu_irq.Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle
01 Nov, 2006
2 commits
-
Signed-off-by: Ralf Baechle
-
Signed-off-by: Ralf Baechle
08 Oct, 2006
1 commit
-
Signed-off-by: Ralf Baechle
27 Sep, 2006
1 commit
-
Recent 34Ks come out of reset with WP enabled on VPE 1 so we take an
immediate exception when starting the second VPE.Signed-off-by: Chris Dearman
Signed-off-by: Ralf Baechle
03 Jul, 2006
1 commit
-
Use the new IRQF_ constants and remove the SA_INTERRUPT define
Signed-off-by: Thomas Gleixner
Cc: Ingo Molnar
Cc: "David S. Miller"
Cc: Benjamin Herrenschmidt
Cc: Ralf Baechle
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
19 Apr, 2006
2 commits
-
Signed-off-by: Ralf Baechle
-
Signed-off-by: Ralf Baechle