criu/include
Kir Kolyshkin 6ce8d8ab93 Make BUG_ON() clang-compatible
When trying to compile the beast with clang, it complains:

====
./include/lock.h:33:2: error: indirection of non-volatile null pointer will be deleted, not trap
        BUG_ON(ret < 0);
        ^~~~~~~~~~~~~~~
In file included from restorer.c:18:
./include/util.h:118:27: note: instantiated from:
#define BUG_ON(condition)       BUG_ON_HANDLER((condition))
                                ^
./include/util.h💯4: note: instantiated from:
                        *(unsigned long *)NULL = 0xdead0000 + __LINE__; \
                        ^
====

Make clang happy again by adding 'volatile'.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
2012-01-31 15:56:23 +04:00
..
atomic.h Gather futex helpers into lock.h 2011-12-26 23:54:18 +04:00
bitops.h restore: Add mutexes via futex syscall and order threads creation 2011-11-18 16:09:01 +04:00
compiler.h Add ALIGN helper 2011-11-16 18:16:12 +04:00
crtools.h cr: Task creds support 2012-01-30 13:00:50 +04:00
files.h restore: Learn to work with shared struct file-s 2012-01-11 16:01:44 +04:00
image.h cr: Task creds support 2012-01-30 13:00:50 +04:00
inet_diag.h Trivial whitespace cleanup 2012-01-30 21:29:42 +04:00
libnetlink.h net: Define named constant for nlmsg_seq 2011-12-27 20:13:18 +04:00
list.h Initial commit 2011-09-23 12:00:45 +04:00
lock.h lock: add a new primitive cr_wait_until_greater (v2) 2012-01-19 16:16:58 +04:00
log.h Move logging functions to log.c 2011-12-19 18:52:50 +04:00
namespaces.h namespaces: split UTS and generic code 2012-01-31 13:43:28 +04:00
parasite-syscall.h parasite: Dump misc command 2012-01-30 12:59:54 +04:00
parasite.h parasite: remove unused commands 2012-01-30 16:02:38 +04:00
proc_parse.h proc_parse: Routine for reading creds from /proc/pid/status 2012-01-30 13:00:18 +04:00
ptrace.h dump: Drop unneeded #includes 2011-12-19 23:18:17 +04:00
restorer-log.h restorer: move log descriptor from crtools (v2) 2012-01-17 18:08:03 +03:00
restorer.h cr: Task creds support 2012-01-30 13:00:50 +04:00
sockets.h show: inet sockets dump parsing support added 2012-01-18 12:39:04 +04:00
syscall-codes.h syscalls: Prepare syscalls and bits for (mostly) setting creds 2012-01-30 13:00:33 +04:00
syscall.h syscalls: Prepare syscalls and bits for (mostly) setting creds 2012-01-30 13:00:33 +04:00
types.h syscalls: Prepare syscalls and bits for (mostly) setting creds 2012-01-30 13:00:33 +04:00
unix_diag.h sockets: Update unix_diag.h 2012-01-10 17:26:50 +04:00
util.h Make BUG_ON() clang-compatible 2012-01-31 15:56:23 +04:00
uts_ns.h namespaces: split UTS and generic code 2012-01-31 13:43:28 +04:00