Commit 31f9ef8f authored by Alexander Kartashov's avatar Alexander Kartashov Committed by Pavel Emelyanov

zdtm: moved lib/atomic.h to lib/arch/x86/include/asm/atomic.h

The file lib/atomic.h is the only machine-dependent file in the test suite
that breaks compilation of the test static/session01 on ARM.

The file is moved into a separate directory and the build system is modified
accordingly to prevent this.
Signed-off-by: 's avatarAlexander Kartashov <alekskartashov@parallels.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 55001455
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#include <sys/time.h> #include <sys/time.h>
#include <limits.h> #include <limits.h>
#include <errno.h> #include <errno.h>
#include <atomic.h> #include "asm/atomic.h"
#define BUG_ON(condition) \ #define BUG_ON(condition) \
do { \ do { \
......
LIBDIR = ../../lib LIBDIR = ../../lib
LIB = $(LIBDIR)/libzdtmtst.a LIB = $(LIBDIR)/libzdtmtst.a
override CPPFLAGS += -I$(LIBDIR) override CPPFLAGS += -I$(LIBDIR) -iquote $(LIBDIR)/arch/$(ARCH)/include
CFLAGS = -g -O2 -Wall -Werror -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 CFLAGS = -g -O2 -Wall -Werror -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
TST_NOFILE = \ TST_NOFILE = \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment