Re: [GIT]: Make LMB code sharable with sparc64.

2008-02-13 Thread David Miller
From: Kumar Gala <[EMAIL PROTECTED]> Date: Wed, 13 Feb 2008 07:12:26 -0600 > Does sparc have the concept of a phys_addr_t? We are in the process > of expanding the lmb support to deal with 36-bit physical addresses on > 32-bit machines. On sparc64, where I intend to use this, unsigned long's

Re: [GIT]: Make LMB code sharable with sparc64.

2008-02-13 Thread Kumar Gala
On Feb 13, 2008, at 2:41 AM, David Miller wrote: As I mentioned to a few ppc folks at LCA08 I plan to use the LMB code from powerpc as a basis for NUMA support on sparc64. There are two changes. 1) Move arch/powerpc/mm/lmb.c to lib/lmb.c, put the main interface bits in include/linux/lmb.h,

Re: [GIT]: Make LMB code sharable with sparc64.

2008-02-13 Thread Michael Ellerman
On Wed, 2008-02-13 at 00:41 -0800, David Miller wrote: > As I mentioned to a few ppc folks at LCA08 I plan to use > the LMB code from powerpc as a basis for NUMA support on > sparc64. > > There are two changes. > > 1) Move arch/powerpc/mm/lmb.c to lib/lmb.c, put the main >interface bits in in

Re: [GIT]: Make LMB code sharable with sparc64.

2008-02-13 Thread David Miller
From: Sam Ravnborg <[EMAIL PROTECTED]> Date: Wed, 13 Feb 2008 09:57:35 +0100 > Review had been easier if the patch was inlined. Sorry :) > Can we plase have this changed to use: > > config SPARC64 > + select HAVE_LMB > > And then in lib/Kconfig have > +config HAVE_LMB > + bool > > So

Re: [GIT]: Make LMB code sharable with sparc64.

2008-02-13 Thread Sam Ravnborg
On Wed, Feb 13, 2008 at 12:41:20AM -0800, David Miller wrote: > > As I mentioned to a few ppc folks at LCA08 I plan to use > the LMB code from powerpc as a basis for NUMA support on > sparc64. > > There are two changes. > > 1) Move arch/powerpc/mm/lmb.c to lib/lmb.c, put the main >interface

[GIT]: Make LMB code sharable with sparc64.

2008-02-13 Thread David Miller
As I mentioned to a few ppc folks at LCA08 I plan to use the LMB code from powerpc as a basis for NUMA support on sparc64. There are two changes. 1) Move arch/powerpc/mm/lmb.c to lib/lmb.c, put the main interface bits in include/linux/lmb.h, put arch-specific bits in asm/lmb.h and add Kcon