mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 09:16:33 +00:00
lib/test_parman: Include <linux/prandom.h> instead of <linux/random.h>
Substitute the inclusion of <linux/random.h> header with <linux/prandom.h> to allow the removal of legacy inclusion of <linux/prandom.h> from <linux/random.h>. Signed-off-by: Uros Bizjak <ubizjak@gmail.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Jiri Pirko <jiri@resnulli.us> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
2e2fe47182
commit
1da74f9050
@ -39,7 +39,7 @@
|
|||||||
#include <linux/slab.h>
|
#include <linux/slab.h>
|
||||||
#include <linux/bitops.h>
|
#include <linux/bitops.h>
|
||||||
#include <linux/err.h>
|
#include <linux/err.h>
|
||||||
#include <linux/random.h>
|
#include <linux/prandom.h>
|
||||||
#include <linux/parman.h>
|
#include <linux/parman.h>
|
||||||
|
|
||||||
#define TEST_PARMAN_PRIO_SHIFT 7 /* defines number of prios for testing */
|
#define TEST_PARMAN_PRIO_SHIFT 7 /* defines number of prios for testing */
|
||||||
|
Loading…
Reference in New Issue
Block a user