Arnd Bergmann <a...@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, sch...@suse.de 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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/