Re: [PATCH] pmu: add compat_pmu_ioctl

2010-08-22 Thread Arnd Bergmann
On Saturday 21 August 2010 23:32:23 Andreas Schwab wrote: > The ioctls are actually compatible, but due to historical mistake the > numbers differ between 32bit and 64bit. Looks good to me, but > +#ifdef CONFIG_COMPAT > +#define PMU_IOC_GET_BACKLIGHT32 _IOR('B', 1, u32) > +#define PMU_IOC_SE

[PATCH] pmu: add compat_pmu_ioctl

2010-08-21 Thread Andreas Schwab
The ioctls are actually compatible, but due to historical mistake the numbers differ between 32bit and 64bit. Signed-off-by: Andreas Schwab --- drivers/macintosh/via-pmu.c | 41 + 1 files changed, 41 insertions(+), 0 deletions(-) diff --git a/drivers/ma