From: Tony Lindgren Date: Thu, 20 Oct 2005 15:21:41 +0000 (+0300) Subject: ARM: OMAP: Clean up omap2 reboot now that cpu_v6_proc_fin is added X-Git-Tag: v2.6.15-omap2~133 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=59b24313d1d90a0878e29e40e3c855d4822a77c5;p=linux-2.6-omap-h63xx.git ARM: OMAP: Clean up omap2 reboot now that cpu_v6_proc_fin is added Clean up omap2 reboot now that cpu_v6_proc_fin is added --- diff --git a/include/asm-arm/arch-omap/system.h b/include/asm-arm/arch-omap/system.h index 175ead4ec9c..90c2a059d99 100644 --- a/include/asm-arm/arch-omap/system.h +++ b/include/asm-arm/arch-omap/system.h @@ -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)