public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/16] Cleanups to io_apic.c
@ 2009-06-16 20:15 Jeremy Fitzhardinge
  2009-06-16 20:15 ` [PATCH 01/16] x86/oprofile: add module parameter option to force a core 2 cpu Jeremy Fitzhardinge
                   ` (16 more replies)
  0 siblings, 17 replies; 21+ messages in thread
From: Jeremy Fitzhardinge @ 2009-06-16 20:15 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: the arch/x86 maintainers, Linux Kernel Mailing List

Hi Ingo,

Here's a series of little cleanup patches to kernel/apic/io_apic.c which
I fixed as I was reviewing the code.

There are a few classes of cleanup here:
 - Unification of 32 and 64-bit variants, where they are functionally
   identical.

 - Removing unnecessary #ifdef CONFIG_X86_32/64 (similar to unification,
   except its code which is at worst a no-op on the other platform).
   This cleans up the appearance of the code, and makes compile-test
   coverage broader.  For the 82093AA workaround, the test should be
   more fine-grained (ie, actually look at the I/O APIC version).

 - Restructure loops to use more conventional forms (lots of odd loops
   which can be easily represented by a plain for() loop)

 - Fix some comments, delete redundant decls, etc.

Jeremy Fitzhardinge (12):
      x86/acpi: acpi_parse_madt_ioapic_entries: remove redundant braces
      x86/ioapic.c: ioapic_modify_irq is too large to inline
      x86/ioapic.c: unify __mask_IO_APIC_irq()
      x86/ioapic.c: remove #ifdef for 82093AA workaround
      x86/ioapic.c: remove redundant declaration of irq_pin_list
      x86/ioapic.c: move lost comment to what seems like appropriate place
      x86/ioapic.c: convert io_apic_level_ack_pending loop to normal for() loop
      x86/ioapic.c: simplify add_pin_to_irq_node()
      x86/ioapic.c: convert replace_pin_at_irq_node to conventional for() loop
      x86/ioapic.c: clean up replace_pin_at_irq_node logic and comments
      x86/ioapic.c: convert __target_IO_APIC_irq to conventional for() loop
      x86/ioapic.c: unify ioapic_retrigger_irq()

 arch/x86/kernel/acpi/boot.c    |    3 +-
 arch/x86/kernel/apic/io_apic.c |  144 ++++++++++++----------------------------
 2 files changed, 45 insertions(+), 102 deletions(-)


Thanks,
	J


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

end of thread, other threads:[~2009-06-17 15:35 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-16 20:15 [PATCH 00/16] Cleanups to io_apic.c Jeremy Fitzhardinge
2009-06-16 20:15 ` [PATCH 01/16] x86/oprofile: add module parameter option to force a core 2 cpu Jeremy Fitzhardinge
2009-06-17 10:57   ` Robert Richter
2009-06-17 14:28     ` Jeremy Fitzhardinge
2009-06-17 15:29     ` Jeremy Fitzhardinge
2009-06-16 20:15 ` [PATCH 02/16] x86: Provide _sdata in the vmlinux.lds.S file Jeremy Fitzhardinge
2009-06-16 20:15 ` [PATCH 03/16] x86: Fix UV BAU activation descriptor init Jeremy Fitzhardinge
2009-06-16 20:15 ` [PATCH 04/16] perf record/top: Clarify events/samples naming Jeremy Fitzhardinge
2009-06-16 20:15 ` [PATCH 05/16] x86/acpi: acpi_parse_madt_ioapic_entries: remove redundant braces Jeremy Fitzhardinge
2009-06-16 20:15 ` [PATCH 06/16] x86/ioapic.c: ioapic_modify_irq is too large to inline Jeremy Fitzhardinge
2009-06-16 20:15 ` [PATCH 07/16] x86/ioapic.c: unify __mask_IO_APIC_irq() Jeremy Fitzhardinge
2009-06-16 20:15 ` [PATCH 08/16] x86/ioapic.c: remove #ifdef for 82093AA workaround Jeremy Fitzhardinge
2009-06-16 20:15 ` [PATCH 09/16] x86/ioapic.c: remove redundant declaration of irq_pin_list Jeremy Fitzhardinge
2009-06-16 20:15 ` [PATCH 10/16] x86/ioapic.c: move lost comment to what seems like appropriate place Jeremy Fitzhardinge
2009-06-16 20:15 ` [PATCH 11/16] x86/ioapic.c: convert io_apic_level_ack_pending loop to normal for() loop Jeremy Fitzhardinge
2009-06-16 20:15 ` [PATCH 12/16] x86/ioapic.c: simplify add_pin_to_irq_node() Jeremy Fitzhardinge
2009-06-16 20:15 ` [PATCH 13/16] x86/ioapic.c: convert replace_pin_at_irq_node to conventional for() loop Jeremy Fitzhardinge
2009-06-16 20:15 ` [PATCH 14/16] x86/ioapic.c: clean up replace_pin_at_irq_node logic and comments Jeremy Fitzhardinge
2009-06-16 20:15 ` [PATCH 15/16] x86/ioapic.c: convert __target_IO_APIC_irq to conventional for() loop Jeremy Fitzhardinge
2009-06-16 20:15 ` [PATCH 16/16] x86/ioapic.c: unify ioapic_retrigger_irq() Jeremy Fitzhardinge
2009-06-17 15:34 ` [PATCH 00/16] Cleanups to io_apic.c Jeremy Fitzhardinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox