diff options
| author | 2018-07-12 15:42:41 -0700 | |
|---|---|---|
| committer | 2018-07-12 15:42:41 -0700 | |
| commit | 18952651dae8efcc6d565c97f8fe5629b399cb3e (patch) | |
| tree | e5ed87924a629e849a9cc7c59a185f81ce5c0745 /include | |
| parent | rcu: Assign higher prio to RCU threads if rcutorture is built-in (diff) | |
| parent | rcutorture: Fix rcu_barrier successes counter (diff) | |
Merge branches 'fixes1.2018.07.12b' and 'torture1.2018.07.12b' into HEAD
fixes1.2018.07.12b: Post-gp_seq miscellaneous fixes
torture1.2018.07.12b: Post-gp_seq torture-test updates
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/torture.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/torture.h b/include/linux/torture.h index a55e80817dae..61dfd93b6ee4 100644 --- a/include/linux/torture.h +++ b/include/linux/torture.h @@ -64,6 +64,8 @@ struct torture_random_state { long trs_count; }; #define DEFINE_TORTURE_RANDOM(name) struct torture_random_state name = { 0, 0 } +#define DEFINE_TORTURE_RANDOM_PERCPU(name) \ + DEFINE_PER_CPU(struct torture_random_state, name) unsigned long torture_random(struct torture_random_state *trsp); /* Task shuffler, which causes CPUs to occasionally go idle. */ |
