From: Wolfgang Denk Date: Mon, 13 Oct 2008 13:56:48 +0200 Subject: [U-Boot] [PATCH] 86xx: remove redudant code with lib_ppc/interrupts.c In-Reply-To: <1219176334-9864-1-git-send-email-galak@kernel.crashing.org> References: <1219176334-9864-1-git-send-email-galak@kernel.crashing.org> Message-ID: <20081013115648.5FBE0817DCBA@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Kumar, In message <1219176334-9864-1-git-send-email-galak@kernel.crashing.org> you wrote: > For some reason we duplicated the majority of code in lib_ppc/interrupts.c > not show how that happened, but there is no good reason for it. > > Use the interrupt_init_cpu() and timer_interrupt_cpu() since its why > they exist. > > Signed-off-by: Kumar Gala > --- > cpu/mpc86xx/interrupts.c | 131 +++------------------------------------------- > 1 files changed, 7 insertions(+), 124 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Obviously, a major malfunction has occurred." -- Steve Nesbitt, voice of Mission Control, January 28, 1986, as the shuttle Challenger exploded within view of the grandstands.