From 59b24313d1d90a0878e29e40e3c855d4822a77c5 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Thu, 20 Oct 2005 18:21:41 +0300 Subject: [PATCH] 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 --- include/asm-arm/arch-omap/system.h | 6 ------ 1 file changed, 6 deletions(-) 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) -- 2.41.1