lkml.org 
[lkml]   [2012]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v3 08/31] arm64: CPU support
    On Fri, Sep 07, 2012 at 08:24:38PM +0100, Arnd Bergmann wrote:
    > On Friday 07 September 2012, Catalin Marinas wrote:
    > > +#include <asm/cputable.h>
    > > +
    > > +extern unsigned long __cpu_setup(void);
    > > +
    > > +struct cpu_info __initdata cpu_table[] = {
    > > + {
    > > + .cpu_id_val = 0x000f0000,
    > > + .cpu_id_mask = 0x000f0000,
    > > + .cpu_name = "AArch64 Processor",
    > > + .cpu_setup = __cpu_setup,
    > > + },
    > > + { /* Empty */ },
    > > +};
    >
    > > +#define MAIR(attr, mt) ((attr) << ((mt) * 8))
    > > +
    > > +ENTRY(cpu_proc_init)
    > > + ret
    > > +ENDPROC(cpu_proc_init)
    > > +
    > > +ENTRY(cpu_proc_fin)
    > > + ret
    > > +ENDPROC(cpu_proc_fin)
    >
    >
    > These seem to be leftovers from multi-cpu support that can be removed.

    Actually cpu_proc_fin() needs to be implemented for turning the caches
    off during setup_restart(). But I'll rename it to something more
    meaningful like cpu_cache_off(). The other can go.

    --
    Catalin


    \
     
     \ /
      Last update: 2012-09-10 19:21    [W:4.217 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site