Thread (3 messages) 3 messages, 2 authors, 2014-06-23

Re: [PATCH v2] MIPS: Implement random_get_entropy with CP0 Random

From: Maciej W. Rozycki <hidden>
Date: 2014-06-23 22:11:32

On Fri, 30 May 2014, Ralf Baechle wrote:
quoted
linux-mips-cycles.patch
Index: linux-20140404-4maxp64/arch/mips/include/asm/timex.h
===================================================================
--- linux-20140404-4maxp64.orig/arch/mips/include/asm/timex.h
+++ linux-20140404-4maxp64/arch/mips/include/asm/timex.h
@@ -4,15 +4,18 @@
  * for more details.
  *
  * Copyright (C) 1998, 1999, 2003 by Ralf Baechle
+ * Copyright (C) 2014 by Maciej W. Rozycki
  */
 #ifndef _ASM_TIMEX_H
 #define _ASM_TIMEX_H
 
 #ifdef __KERNEL__
 
+#include <linux/compiler.h>
+
+#include <asm/cpu.h>
 #include <asm/cpu-features.h>
 #include <asm/mipsregs.h>
-#include <asm/cpu-type.h>
And this line broke the build big time - lots of files are using either
boot_cpu_type() or current_cpu_type() and are implicitly getting the
definition via <asm/timex.h>.

So for the moment I've added the unnecessary inclusion of asm/cpu-type.h
back.
 Thanks for fixing this up for me.

  Maciej
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help