Re: [PATCH] I2C: Add support for 64bit system.
From: Timur Tabi <hidden>
Date: 2011-03-15 15:57:04
Also in:
linux-i2c
From: Timur Tabi <hidden>
Date: 2011-03-15 15:57:04
Also in:
linux-i2c
On Tue, Mar 15, 2011 at 10:44 AM, Kumar Gala [off-list ref] wrote:
On Dec 20, 2010, at 8:59 AM, Ben Dooks wrote:quoted
On Mon, Dec 20, 2010 at 03:37:34PM +0800, Xulei wrote:quoted
Currently I2C_MPC supports 32bit system only, then this modification makes it support 32bit and 64bit system both. Signed-off-by: Xulei <redacted>This been build or run tested?Yes, Any issues with me applying this via the powerpc.git tree?
I'm concerned about the fact that we have to have two defines to declare code that is 32-bit and 64-bit clean. Technically speaking, all drivers should work in both environments. It seems silly to have "PPC32 || PPC64" for everything. Isn't there a generic "PPC" config option that covers this? -- Timur Tabi Linux kernel developer at Freescale