Re: [PATCH] Only show RESOURCES_64BIT on relevant architectures

Kyle McMartin
2007-10-29T15:12:17Z

On Sun, Oct 28, 2007 at 06:09:49PM -0700, David Miller wrote:
> From: Kyle McMartin <kyle@mcmartin.ca>
> Date: Sun, 28 Oct 2007 16:15:49 -0400
>
> > To quote lolcats: CONFIG_RESOURCES_64BIT DO NOT WANT!
> >
> > I *think* I have the logic of this right... Anyway, I was annoyed by
> > having to do the bloody ugly casts to unsigned long long in
> > arch-specific code. As near as I can tell, we only want this selectable
> > in the case of PAE on x86, and some random PPC and MIPS embedded boards.
> >
> > For everyone else, it should be whatever the value of 64BIT is.
> >
> > And I can be happy and continue using unsigned long and going about my
> > merry business.
> >
> > Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
>
> 32-bit sparc has 36-bit physical addresses and thus needs
> 64-bit resources too

I didn't realize this, since it wasn't set in any of the configs, or
select-ed by any of the Kconfig. Will add this in the next go 'round.

Cheers,
Kyle