OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm/damon: move damon_rand() definition into damon.h
[uclinux-h8/linux.git]
/
mm
/
damon
/
prmtv-common.h
diff --git
a/mm/damon/prmtv-common.h
b/mm/damon/prmtv-common.h
index
61f2703
..
e790cb5
100644
(file)
--- a/
mm/damon/prmtv-common.h
+++ b/
mm/damon/prmtv-common.h
@@
-6,10
+6,6
@@
*/
#include <linux/damon.h>
-#include <linux/random.h>
-
-/* Get a random number in [l, r) */
-#define damon_rand(l, r) (l + prandom_u32_max(r - l))
struct page *damon_get_page(unsigned long pfn);