From: "Randy.Dunlap" <rdunlap@xenotime.net>
To: lkml <linux-kernel@vger.kernel.org>
Cc: akpm <akpm@osdl.org>, ak@suse.de
Subject: [PATCH/RFC] arch/x86_common: more formal reuse of i386+x86_64 source code
Date: Wed, 8 Feb 2006 22:53:36 -0800 [thread overview]
Message-ID: <20060208225336.23539710.rdunlap@xenotime.net> (raw)
(not completed yet)
(patch applies to 2.6.16-rc2)
Patch is 331 KB and is at
http://www.xenotime.net/linux/patches/x86-common1.patch
From: Randy Dunlap <rdunlap@xenotime.net>
Move lots of i386 & x86_64 common code into arch/x86_common/
and modify Makefiles to use it from there.
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
arch/i386/boot/edd.S | 176 --
arch/i386/boot/setup.S | 2
arch/i386/kernel/Makefile | 8
arch/i386/kernel/bootflag.c | 99 -
arch/i386/kernel/cpu/Makefile | 2
arch/i386/kernel/cpu/intel_cacheinfo.c | 655 ---------
arch/i386/kernel/cpuid.c | 245 ---
arch/i386/kernel/dmi_scan.c | 301 ----
arch/i386/kernel/early_printk.c | 2
arch/i386/kernel/i8237.c | 67
arch/i386/kernel/microcode.c | 516 -------
arch/i386/kernel/msr.c | 326 ----
arch/i386/kernel/quirks.c | 51
arch/i386/mm/Makefile | 2
arch/i386/mm/hugetlbpage.c | 289 ----
arch/i386/pci/Makefile | 10
arch/i386/pci/acpi.c | 68
arch/i386/pci/common.c | 261 ---
arch/i386/pci/direct.c | 289 ----
arch/i386/pci/fixup.c | 467 ------
arch/i386/pci/i386.c | 295 ----
arch/i386/pci/irq.c | 1199 -----------------
arch/i386/pci/legacy.c | 56
arch/i386/pci/pci.h | 83 -
arch/x86_64/boot/setup.S | 2
arch/x86_64/kernel/Makefile | 16
arch/x86_64/kernel/early_printk.c | 271 ---
arch/x86_64/mm/Makefile | 2
arch/x86_64/pci/Makefile | 19
arch/x86_common/boot/edd.S | 176 ++
arch/x86_common/kernel/bootflag.c | 99 +
arch/x86_common/kernel/cpu/intel_cacheinfo.c | 655 +++++++++
arch/x86_common/kernel/cpuid.c | 245 +++
arch/x86_common/kernel/dmi_scan.c | 301 ++++
arch/x86_common/kernel/early_printk.c | 271 +++
arch/x86_common/kernel/i8237.c | 67
arch/x86_common/kernel/microcode.c | 516 +++++++
arch/x86_common/kernel/msr.c | 326 ++++
arch/x86_common/kernel/quirks.c | 51
arch/x86_common/mm/hugetlbpage.c | 289 ++++
arch/x86_common/pci/acpi.c | 68
arch/x86_common/pci/common.c | 261 +++
arch/x86_common/pci/direct.c | 289 ++++
arch/x86_common/pci/fixup.c | 467 ++++++
arch/x86_common/pci/i386.c | 295 ++++
arch/x86_common/pci/irq.c | 1199 +++++++++++++++++
arch/x86_common/pci/legacy.c | 56
arch/x86_common/pci/pci.h | 83 +
48 files changed, 5759 insertions(+), 5734 deletions(-)
---
~Randy
next reply other threads:[~2006-02-09 6:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-09 6:53 Randy.Dunlap [this message]
2006-02-09 7:00 ` [PATCH/RFC] arch/x86_common: more formal reuse of i386+x86_64 source code Randy.Dunlap
2006-02-09 9:59 ` Andi Kleen
2006-02-14 19:22 ` Pavel Machek
2006-02-22 20:53 ` Tom Rini
2006-02-22 20:55 ` Randy.Dunlap
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=20060208225336.23539710.rdunlap@xenotime.net \
--to=rdunlap@xenotime.net \
--cc=ak@suse.de \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).