]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Clean up omap2 reboot now that cpu_v6_proc_fin is added
authorTony Lindgren <tony@atomide.com>
Thu, 20 Oct 2005 15:21:41 +0000 (18:21 +0300)
committerTony Lindgren <tony@atomide.com>
Thu, 20 Oct 2005 15:21:41 +0000 (18:21 +0300)
Clean up omap2 reboot now that cpu_v6_proc_fin is added

include/asm-arm/arch-omap/system.h

index 175ead4ec9c19d39a2ed2e9a62e2fb28393fed58..90c2a059d9956766c439255c55febb69d909fbd1 100644 (file)
@@ -41,18 +41,12 @@ static inline void omap2_arch_reset(char mode)
 {
        u32 rate;
        struct clk *vclk, *sclk;
-       unsigned long flags;
 
        vclk = clk_get(NULL, "virt_prcm_set");
        sclk = clk_get(NULL, "sys_ck");
-
-       printk(KERN_INFO "Resetting the OMAP2\n");
-
-       local_irq_save(flags); /* no distractions, we are rebooting */
        rate = clk_get_rate(sclk);
        clk_set_rate(vclk, rate);       /* go to bypass for OMAP limitation */
        RM_RSTCTRL_WKUP |= 2;
-       local_irq_restore(flags);
 }
 
 static inline void arch_reset(char mode)