From: Catalin Marinas Date: Tue, 6 Jan 2015 16:42:32 +0000 (+0000) Subject: arm64: Implement the compat_sys_call_table in C X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~117^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0156411b1828771c09c92f034e7b81f702b84f07;p=pandora-kernel.git arm64: Implement the compat_sys_call_table in C Unlike the sys_call_table[], the compat one was implemented in sys32.S making it impossible to notice discrepancies between the number of compat syscalls and the __NR_compat_syscalls macro, the latter having to be defined in asm/unistd.h as including asm/unistd32.h would cause conflicts on __NR_* definitions. With this patch, incorrect __NR_compat_syscalls values will result in a build-time error. Signed-off-by: Catalin Marinas Suggested-by: Mark Rutland Acked-by: Mark Rutland --- Reading git-diff-tree failed