]> git.karo-electronics.de Git - karo-tx-linux.git/commit
syscalls.h: use gcc alias instead of assembler aliases for syscalls
authorAndi Kleen <ak@linux.intel.com>
Tue, 5 Nov 2013 05:56:04 +0000 (16:56 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:56:04 +0000 (16:56 +1100)
commit2142185d50a66d8adf1b4531f4846b74eb23df10
tree94a518259f53cb3a1abd316c6661e3be4cf68078
parentcf033827865de33f13774c862d13edca05468f21
syscalls.h: use gcc alias instead of assembler aliases for syscalls

Use standard gcc __attribute__((alias(foo))) to define the syscall aliases
instead of custom assembler macros.

This is far cleaner, and also fixes my LTO kernel build.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/compat.h
include/linux/syscalls.h