Changeset 19317


Ignore:
Timestamp:
06/02/12 01:03:17 (12 months ago)
Author:
BrainSlayer
Message:

laguna smp kernel running now

Location:
src/linux/universal/linux-3.4/arch/arm/mach-cns3xxx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-3.4/arch/arm/mach-cns3xxx/core.c

    r19285 r19317  
    2424#include "core.h" 
    2525 
     26 
     27 
    2628static struct map_desc cns3xxx_io_desc[] __initdata = { 
    2729        { 
     
    151153}; 
    152154 
     155 
    153156static DEFINE_TWD_LOCAL_TIMER(twd_local_timer, 
    154                               CNS3XXX_TC11MP_TWD_BASE_VIRT, 
     157                              CNS3XXX_TC11MP_TWD_BASE, 
    155158                              IRQ_LOCALTIMER); 
    156  
    157159 
    158160void __init cns3xxx_common_init(void) 
     
    170172#ifdef CONFIG_CACHE_L2CC 
    171173        l2cc_init((void __iomem *) CNS3XXX_L2C_BASE_VIRT); 
    172 #endif 
    173 #ifdef CONFIG_LOCAL_TIMERS 
    174         int err = twd_local_timer_register(&twd_local_timer); 
    175         if (err) 
    176                 pr_err("twd_local_timer_register failed %d\n", err); 
    177 //      twd_base = (void __iomem *) CNS3XXX_TC11MP_TWD_BASE_VIRT; 
    178174#endif 
    179175        gpiochip_add(&cns3xxx_gpio_chip); 
     
    322318        clocksource_register(&clocksource_cns3xxx); 
    323319} 
    324  
    325320/* 
    326321 * Set up the clock source and clock events devices 
     
    361356        cns3xxx_clocksource_init(); 
    362357        cns3xxx_clockevents_init(timer_irq); 
     358#ifdef CONFIG_LOCAL_TIMERS 
     359        int err = twd_local_timer_register(&twd_local_timer); 
     360        if (err) 
     361                pr_err("twd_local_timer_register failed %d\n", err); 
     362//      twd_base = (void __iomem *) CNS3XXX_TC11MP_TWD_BASE_VIRT; 
     363#endif 
    363364} 
    364365 
  • src/linux/universal/linux-3.4/arch/arm/mach-cns3xxx/include/mach/entry-macro.S

    r19285 r19317  
    1  
    21                .macro test_for_cache_ipi, irqnr, irqstat, base, tmp 
    32                bic     \irqnr, \irqstat, #0x1c00 
Note: See TracChangeset for help on using the changeset viewer.