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

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

 



On Fri, 30 May 2014, Ralf Baechle wrote:

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


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

  Powered by Linux