Commit 58552408 authored by Linus Torvalds's avatar Linus Torvalds

random: random.h should include archrandom.h, not the other way around

This is hopefully the final piece of the crazy puzzle with random.h
dependencies.

And by "hopefully" I obviously mean "Linus is a hopeless optimist".
Reported-and-tested-by: default avatarDaniel Díaz <daniel.diaz@linaro.org>
Acked-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent ecfd7940
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
#include <linux/bug.h> #include <linux/bug.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/random.h>
#include <asm/cpufeature.h> #include <asm/cpufeature.h>
static inline bool __arm64_rndr(unsigned long *v) static inline bool __arm64_rndr(unsigned long *v)
......
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/pgtable.h> #include <linux/pgtable.h>
#include <linux/random.h>
#include <asm/archrandom.h>
#include <asm/cacheflush.h> #include <asm/cacheflush.h>
#include <asm/fixmap.h> #include <asm/fixmap.h>
#include <asm/kernel-pgtable.h> #include <asm/kernel-pgtable.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment