aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2013-02-04 19:39:52 +0000
committerBen Hutchings <ben@decadent.org.uk>2013-03-06 03:24:19 +0000
commitf20a819cc8b7335f2714950ff7638d52fcd50fdc (patch)
tree0c90df291496eb23a7d4041843bb2650f379d25f /drivers/xen
parent903fba3bd1e99fbcac8a5e45e78059ce9357f7c1 (diff)
downloadkernel_samsung_smdk4412-f20a819cc8b7335f2714950ff7638d52fcd50fdc.zip
kernel_samsung_smdk4412-f20a819cc8b7335f2714950ff7638d52fcd50fdc.tar.gz
kernel_samsung_smdk4412-f20a819cc8b7335f2714950ff7638d52fcd50fdc.tar.bz2
unbreak automounter support on 64-bit kernel with 32-bit userspace (v2)
commit 4f4ffc3a5398ef9bdbb32db04756d7d34e356fcf upstream. automount-support is broken on the parisc architecture, because the existing #if list does not include a check for defined(__hppa__). The HPPA (parisc) architecture is similiar to other 64bit Linux targets where we have to define autofs_wqt_t (which is passed back and forth to user space) as int type which has a size of 32bit across 32 and 64bit kernels. During the discussion on the mailing list, H. Peter Anvin suggested to invert the #if list since only specific platforms (specifically those who do not have a 32bit userspace, like IA64 and Alpha) should have autofs_wqt_t as unsigned long type. This suggestion is probably the best way to go, since Arm64 (and maybe others?) seems to have a non-working automounter. So in the long run even for other new upcoming architectures this inverted check seem to be the best solution, since it will not require them to change this #if again (unless they are 64bit only). Signed-off-by: Helge Deller <deller@gmx.de> Acked-by: H. Peter Anvin <hpa@zytor.com> Acked-by: Ian Kent <raven@themaw.net> Acked-by: Catalin Marinas <catalin.marinas@arm.com> CC: James Bottomley <James.Bottomley@HansenPartnership.com> CC: Rolf Eike Beer <eike-kernel@sf-tec.de> [bwh: Backported to 3.2: adjust filename] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers/xen')
0 files changed, 0 insertions, 0 deletions