projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
selftests/rseq: remove ARRAY_SIZE define from individual tests
[linux-2.6-block.git]
/
tools
/
testing
/
selftests
/
rseq
/
rseq.c
diff --git
a/tools/testing/selftests/rseq/rseq.c
b/tools/testing/selftests/rseq/rseq.c
index 7159eb777fd34ab7cf128ff2d00744eae1ac0b03..fb440dfca1587900360c61b8f183a8f45ffde7e0 100644
(file)
--- a/
tools/testing/selftests/rseq/rseq.c
+++ b/
tools/testing/selftests/rseq/rseq.c
@@
-27,10
+27,9
@@
#include <signal.h>
#include <limits.h>
+#include "../kselftest.h"
#include "rseq.h"
-#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
-
__thread volatile struct rseq __rseq_abi = {
.cpu_id = RSEQ_CPU_ID_UNINITIALIZED,
};