diff options
| author | Paul E. McKenney <[email protected]> | 2018-07-12 15:42:41 -0700 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2018-07-12 15:42:41 -0700 |
| commit | 18952651dae8efcc6d565c97f8fe5629b399cb3e (patch) | |
| tree | e5ed87924a629e849a9cc7c59a185f81ce5c0745 /include/linux | |
| parent | c7cd161ecb2188c07ba9560ca82aee756575359f (diff) | |
| parent | bf5b64355a3ce41752856b66c4efad4d7a88e84b (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/linux')
| -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. */ |