Bug#502816: [PATCH] snapshot: Implement compat_ioctl

2011-12-29 Thread Ben Hutchings
On Tue, 2011-12-27 at 21:33 +0100, Ben Hutchings wrote: This allows uswsusp built for i386 to run on an x86_64 kernel (tested with Debian package version 1.0+20110509-2). Now I wonder whether all this code was necessary. [...] +#ifdef CONFIG_COMPAT + +struct compat_resume_swap_area { +

Bug#502816: [PATCH] snapshot: Implement compat_ioctl

2011-12-29 Thread Rafael J. Wysocki
On Thursday, December 29, 2011, Ben Hutchings wrote: On Tue, 2011-12-27 at 21:33 +0100, Ben Hutchings wrote: This allows uswsusp built for i386 to run on an x86_64 kernel (tested with Debian package version 1.0+20110509-2). Now I wonder whether all this code was necessary. [...]

Bug#502816: [PATCH] snapshot: Implement compat_ioctl

2011-12-29 Thread Ben Hutchings
On Thu, 2011-12-29 at 23:33 +0100, Rafael J. Wysocki wrote: On Thursday, December 29, 2011, Ben Hutchings wrote: On Tue, 2011-12-27 at 21:33 +0100, Ben Hutchings wrote: This allows uswsusp built for i386 to run on an x86_64 kernel (tested with Debian package version 1.0+20110509-2).

Bug#502816: [PATCH] snapshot: Implement compat_ioctl

2011-12-29 Thread Rafael J. Wysocki
On Friday, December 30, 2011, Ben Hutchings wrote: On Thu, 2011-12-29 at 23:33 +0100, Rafael J. Wysocki wrote: On Thursday, December 29, 2011, Ben Hutchings wrote: On Tue, 2011-12-27 at 21:33 +0100, Ben Hutchings wrote: This allows uswsusp built for i386 to run on an x86_64 kernel

Bug#502816: [PATCH] snapshot: Implement compat_ioctl

2011-12-27 Thread Ben Hutchings
This allows uswsusp built for i386 to run on an x86_64 kernel (tested with Debian package version 1.0+20110509-2). References: http://bugs.debian.org/502816 Signed-off-by: Ben Hutchings b...@decadent.org.uk --- kernel/power/user.c | 64 +++ 1

Bug#502816: [PATCH] snapshot: Implement compat_ioctl

2011-12-27 Thread Rafael J. Wysocki
On Tuesday, December 27, 2011, Ben Hutchings wrote: This allows uswsusp built for i386 to run on an x86_64 kernel (tested with Debian package version 1.0+20110509-2). References: http://bugs.debian.org/502816 Signed-off-by: Ben Hutchings b...@decadent.org.uk Applied to linux-pm/linux-next.