]> git.neil.brown.name Git - history.git/commit
[PATCH] fix non-PC subarchs which were broken by i386 probe_roms change
authorJames Bottomley <james.bottomley@steeleye.com>
Thu, 15 Apr 2004 04:56:52 +0000 (21:56 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 15 Apr 2004 04:56:52 +0000 (21:56 -0700)
commit8aabc781b2143b6ab8161e415ad4429ced811880
treed0d1ed6aefc374db646560d17f6c0c44a2ffacb8
parentfbd532e3977a9c785b9fb2c7f9b698febaaf3a6a
[PATCH] fix non-PC subarchs which were broken by i386 probe_roms change

The author apparently didn't understand that only the mach-default
include directory is included by fallback for header files only.  You
can't stick a .c file in mach-default and expect all subarchs to be able
to use it.

The correct fix is to put std_resources.c in the kernel directory and
give it its own Kconfig symbol for conditional compile so that subarchs
may choose to include it or not.
arch/i386/Kconfig
arch/i386/kernel/Makefile
arch/i386/kernel/std_resources.c [new file with mode: 0644]
arch/i386/mach-default/Makefile
arch/i386/mach-default/std_resources.c [deleted file]