2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 13:58:34 +00:00

aarch/vdso: include common/compiler.h before use __maybe_unused

In file included from criu/include/util-vdso.h:23:0,
                 from criu/include/kerndat.h:8,
                 from criu/lsm.c:8:
criu/arch/aarch64/include/asm/vdso.h:17:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'aarch_vdso_symbol1'
 static const char* __maybe_unused aarch_vdso_symbol1 = "__kernel_clock_getres";

Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
Andrei Vagin 2017-06-28 03:53:33 +03:00
parent 7ad5df9e9f
commit aff44dd424

View File

@ -2,6 +2,7 @@
#define __CR_ASM_VDSO_H__
#include "asm/int.h"
#include "common/compiler.h"
#include "asm-generic/vdso.h"
/*