Re: [PATCH 2.6.17] Clean up and refactor i386 sub-architecture setup
From: Zachary Amsden
Date: Tue Jun 20 2006 - 20:07:42 EST
Jeremy Fitzhardinge wrote:
From: Jeremy Fitzhardinge <jeremy@xxxxxxxxxxxxx>
Clean up and refactor i386 sub-architecture setup.
This change moves all the code from the
asm-i386/mach-*/setup_arch_pre/post.h headers, into
arch/i386/mach-*/setup.c. mach-*/setup_arch_pre.h is renamed to
setup_arch.h, and contains only things which should be in header
files. It is purely code-motion; there should be no functional
changes at all.
Several functions in arch/i386/kernel/setup.c needed to be made
non-static so that they're visible to the code in mach-*/setup.c.
asm-i386/setup.h is used to hold the prototypes for these functions.
This looks awesome. Are there any plans to get these sub-architectures
to work with the generic subarch? Seems the next logical step would be
putting each mach-*/*.o into separated namespaces.
Zach
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/