Re: [PATCH] parisc: unbreak automounter support on 64-bit kernel with 32-bit userspace

H. Peter Anvin
2013-01-31T23:13:48Z

On 01/31/2013 02:10 PM, Rolf Eike Beer wrote:
> H. Peter Anvin wrote:
>> On 01/31/2013 01:42 PM, James Bottomley wrote:
>>> On Thu, 2013-01-31 at 13:29 -0800, H. Peter Anvin wrote:
>>>> On 01/31/2013 12:26 PM, James Bottomley wrote:
>>>>> [adding autofs list and maintainer for their perusal and
>>>>> ack, although this is an obvious fix to me
>>>>>
>>>>> James]
>>>>
>>>> The #if list probably should be inverted, and only specific
>>>> platforms should have unsigned long...
>>>
>>> The whitelist is 64 bit only platforms, like ia64, isn't it?
>>> So yes, they're far less numerous.
>>
>> Correct. It is basically the 64-bit platforms without any
>> 32-bit userspace, like Alpha and IA64.
>
> Arm64? Should this be a CONFIG_ARCH_CAN_HAVE_32BIT_USERSPACE that
> would cover this? And may e.g. be used to remove compat_ioctl on
> those archs, too?
>

compat_ioctl should be CONFIG_COMPAT.

-hpa