[PATCH] arm64: Enable CONFIG_COMPAT also for 64k page size
Andreas Schwab
schwab at suse.de
Wed Mar 11 06:57:02 PDT 2015
Arnd Bergmann <arnd at arndb.de> 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 at suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the linux-arm-kernel
mailing list