From: Greg KH <greg@kroah.com>
To: mingo@redhat.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] removal of mp_bus_id_to_node array in 2.5.6-pre2
Date: Mon, 4 Mar 2002 17:09:11 -0800 [thread overview]
Message-ID: <20020305010910.GA6139@kroah.com> (raw)
Hi,
Here's a patch against 2.5.6-pre2 that removes the mp_bus_id_to_node
array from arch/i386/kernel/mpparse.c as it isn't needed anymore. This
saves us a small amount of kernel memory, which is always a good thing :)
thanks,
greg k-h
diff -Nru a/arch/i386/kernel/mpparse.c b/arch/i386/kernel/mpparse.c
--- a/arch/i386/kernel/mpparse.c Mon Mar 4 16:59:01 2002
+++ b/arch/i386/kernel/mpparse.c Mon Mar 4 16:59:01 2002
@@ -36,7 +36,6 @@
*/
int apic_version [MAX_APICS];
int mp_bus_id_to_type [MAX_MP_BUSSES];
-int mp_bus_id_to_node [MAX_MP_BUSSES];
int mp_bus_id_to_pci_bus [MAX_MP_BUSSES] = { [0 ... MAX_MP_BUSSES-1] = -1 };
int mp_current_pci_id;
@@ -246,8 +245,7 @@
str[6] = 0;
if (clustered_apic_mode) {
- mp_bus_id_to_node[m->mpc_busid] = translation_table[mpc_record]->trans_quad;
- printk("Bus #%d is %s (node %d)\n", m->mpc_busid, str, mp_bus_id_to_node[m->mpc_busid]);
+ printk("Bus #%d is %s (node %d)\n", m->mpc_busid, str, translation_table[mpc_record]->trans_quad);
} else {
Dprintk("Bus #%d is %s\n", m->mpc_busid, str);
}
next reply other threads:[~2002-03-05 1:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-05 1:09 Greg KH [this message]
2002-03-05 1:47 ` [PATCH] removal of mp_bus_id_to_node array in 2.5.6-pre2 Martin J. Bligh
2002-03-05 1:51 ` Greg KH
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=20020305010910.GA6139@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
/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