Re: [PATCH] base: isa: Remove X86_32 dependency

From: Thomas Gleixner
Date: Fri Jan 22 2016 - 03:08:37 EST


On Thu, 21 Jan 2016, William Breathitt Gray wrote:
> On 01/21/2016 06:47 PM, H. Peter Anvin wrote:
> > Well, and as you can see from the build robot because a lot of those
> > drivers simply don't compile on 64-bit systems. If nothing else you
> > would have to push the 32-bit tests downward in the config dependency tree.
>
> Yes, you're right. There doesn't appear to be anything 32-bit specific in
> the ISA bus driver itself, so these build failures must be due to configs
> relying on the 32-bit dependency from CONFIG_ISA. It should be possible to
> decouple the 32-bit dependency, so I'll work through the config dependency
> tree and fix the build errors with explicit CONFIG_X86_32 dependencies. I'll
> submit a new patch with those changes when complete.

Make drivers/bus/isa.c depend on CONFIG_ISA_BUS and select that from
CONFIG_ISA.

That gives you the bus driver alone w/o touching any of the things which
depend on x32.

Thanks,

tglx