]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
syscalls.h: use gcc alias instead of assembler aliases for syscalls
authorAndi Kleen <ak@linux.intel.com>
Tue, 12 Nov 2013 23:08:36 +0000 (15:08 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:12 +0000 (12:09 +0900)
commit83460ec8dcac14142e7860a01fa59c267ac4657c
tree6bd63a842820b67150d74267dc07372be339f5c3
parent54886a7153353ea2bf21ebfc1b8e030e71d151d7
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/compat.h
include/linux/syscalls.h