criu/arch/arm
Kir Kolyshkin 3ea2fd78eb crtools.c: fix compilation by clang
Fix the following error:

> >   LINK     arch/x86/syscalls.built-in.o
> > arch/x86/crtools.c:36:20: error: unused function '__check_code_syscall'
> >       [-Werror,-Wunused-function]
> > static inline void __check_code_syscall(void)

As the function consists of a few BUILD_BUG_ONs, it gets optimized out.
Let's add __attribute__((__unused__)) so clang stops complaining.

[v2: s/used/unused/, fix all the arches, whitespace cleanup]

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2015-05-05 13:44:34 +03:00
..
include/asm Use run-time page size where it matters 2015-04-22 15:39:05 +03:00
cpu.c cpuinfo: arm -- Fix build 2014-10-03 16:20:10 +04:00
crtools.c crtools.c: fix compilation by clang 2015-05-05 13:44:34 +03:00
Makefile arm: prepare syscall table generation scripts to be shared with AArch64 2014-03-11 22:46:06 +04:00
parasite-head.S parasite: allocate stack for each thread 2013-05-24 18:53:33 +04:00
restorer.c restore: construct sigframe in crtools 2013-05-24 17:39:52 +04:00
syscall-common.S arm: don't use the register R12 in the routine syscall_common() 2013-09-26 15:56:35 +04:00
syscall.def x86: Add io syscalls 2014-12-26 18:13:33 +03:00
uidiv.S arm: added ARM-specific files modelled after arch/x86 2013-01-22 22:53:24 +04:00