]> git.karo-electronics.de Git - karo-tx-linux.git/commit
asm-generic/unistd.h: handle symbol prefixes in cond_syscall
authorJames Hogan <james.hogan@imgtec.com>
Fri, 24 Feb 2012 13:47:48 +0000 (13:47 +0000)
committerJames Hogan <james.hogan@imgtec.com>
Mon, 28 Jan 2013 16:24:20 +0000 (16:24 +0000)
commit5b1b120b990d83db1ec853ca08bbac13edd5e207
tree547949ed1640755a7371df6a34864642971fc8cc
parenta4267a0a5e081a60f4754de86ef4cc388592dd51
asm-generic/unistd.h: handle symbol prefixes in cond_syscall

Some architectures have symbol prefixes and set CONFIG_SYMBOL_PREFIX,
but this wasn't taken into account by the generic cond_syscall. It's
easy enough to fix in a generic fashion, so add the symbol prefix to
symbol names in cond_syscall when CONFIG_SYMBOL_PREFIX is set.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Mike Frysinger <vapier@gentoo.org>
include/asm-generic/unistd.h