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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Apr 06, 2014 at 09:31:29PM +0100, Maciej W. Rozycki wrote:

(Cc list chopped down to just the MIPS folks.)

> 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.

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux