mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Genapic cleanup & NUMAQ/es7000 removal
@ 2009-01-30 10:17 Andi Kleen
  2009-01-30 10:17 ` [PATCH] Move wakeup_secondary_via_nmi into numaq_32.c Andi Kleen
  2009-02-05 16:15 ` Genapic cleanup & NUMAQ/es7000 removal Tim Pepper
  0 siblings, 2 replies; 18+ messages in thread
From: Andi Kleen @ 2009-01-30 10:17 UTC (permalink / raw)
  To: mingo; +Cc: linux-kernel, lnxninja

Just to demonstrate the clean up possibilities by removing es7000
and numaq here's a sample patch series. It doesn't actually remove
the es7000/numaq code, but just marks them broken and then
removes all the hooks only used by them. I'm not actually sure
I caught all the now unused hooks, there are probably now more.
Also I think there's still some other NUMAQ only code in smpboot.c
that could be exercised.

This removes 6 hooks and 2 fields out of struct genapic (out of 26
hooks, a reduction of ~23%!) 

The first three patches are independent cleanups that should
be applied anyways.

This gives a nice generic cleanup:

 Kconfig                     |    4 +-
 include/asm/bigsmp/apic.h   |    4 --
 include/asm/genapic.h       |   17 ++----------
 include/asm/setup.h         |    3 --
 include/asm/smpboot_hooks.h |   10 +++----
 kernel/apic.c               |    2 -
 kernel/bigsmp_32.c          |   12 --------
 kernel/es7000_32.c          |   32 ----------------------
 kernel/genapic_flat_64.c    |   16 -----------
 kernel/genx2apic_cluster.c  |    8 -----
 kernel/genx2apic_phys.c     |    8 -----
 kernel/genx2apic_uv_x.c     |    8 -----
 kernel/io_apic.c            |   11 -------
 kernel/numaq_32.c           |   62 --------------------------------------------
 kernel/probe_32.c           |    8 -----
 kernel/setup.c              |   11 -------
 kernel/smpboot.c            |   54 ++------------------------------------
 kernel/summit_32.c          |   12 --------
 18 files changed, 13 insertions(+), 269 deletions(-)

-Andi

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

end of thread, other threads:[~2009-02-05 21:25 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-30 10:17 Genapic cleanup & NUMAQ/es7000 removal Andi Kleen
2009-01-30 10:17 ` [PATCH] Move wakeup_secondary_via_nmi into numaq_32.c Andi Kleen
2009-01-30 10:17   ` [PATCH] Remove empty setup_portio_remap inlines in bigsmp/summit Andi Kleen
2009-01-30 10:17     ` [PATCH] Mark NUMAQ broken Andi Kleen
2009-01-30 10:17       ` [PATCH] Mark ES7000 subarch broken Andi Kleen
2009-01-30 10:17         ` [PATCH] Remove store_NMI_vector in genapic Andi Kleen
2009-01-30 10:17           ` [PATCH] Remove smp_callin_clear_local_apic hook Andi Kleen
2009-01-30 10:17             ` [PATCH] Remove multi_timer_check Andi Kleen
2009-01-30 10:17               ` [PATCH] Remove setup_portio_remap Andi Kleen
2009-01-30 10:17                 ` [PATCH] Remove wakeup_cpu genapic vector Andi Kleen
2009-01-30 10:17                   ` [PATCH] Remove now unused default_update_genapic Andi Kleen
2009-01-30 10:17                     ` [PATCH] Remove trampoline_phys_low/high genapic fields Andi Kleen
2009-01-30 10:17                       ` [PATCH] Remove enable_apic_mode genapic hook Andi Kleen
2009-01-30 10:17                         ` [PATCH] Remove setup_ioapic_ids x86_quirks hook Andi Kleen
2009-02-05 16:15 ` Genapic cleanup & NUMAQ/es7000 removal Tim Pepper
2009-02-05 17:29   ` Ingo Molnar
2009-02-05 20:27     ` Andi Kleen
2009-02-05 21:25       ` Ingo Molnar

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

all inboxes | Powered by JetHome®