From: Andi Kleen <andi@firstfloor.org>
To: mingo@elte.hu
Cc: linux-kernel@vger.kernel.org, lnxninja@linux.vnet.ibm.com
Subject: Genapic cleanup & NUMAQ/es7000 removal
Date: Fri, 30 Jan 2009 11:17:06 +0100 [thread overview]
Message-ID: <1233310639-27916-1-git-send-email-andi@firstfloor.org> (raw)
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
next reply other threads:[~2009-01-30 10:19 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-30 10:17 Andi Kleen [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1233310639-27916-1-git-send-email-andi@firstfloor.org \
--to=andi@firstfloor.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lnxninja@linux.vnet.ibm.com \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®