Re: [PATCH] arm64: Enable CONFIG_COMPAT also for 64k page size
From: Andreas Schwab
Date: Wed Mar 11 2015 - 09:57:15 EST
Arnd Bergmann <arnd@xxxxxxxx> writes:
> On Wednesday 11 March 2015 14:35:39 Andreas Schwab wrote:
>> +#if PAGE_SIZE > 12
>> +asmlinkage long compat_sys_mmap2_wrapper(void);
>> +#else
>> +#define compat_sys_mmap2_wrapper sys_mmap_pgoff
>> +#endif
>>
>
> PAGE_SIZE is always larger than 12 ;-)
s/PAGE_SIZE/PAGE_SHIFT/
Thanks, Andreas.
--
Andreas Schwab, SUSE Labs, schwab@xxxxxxx
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/