public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Alessio Centazzo <acpatin@yahoo.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] PATCH: Fixed PPC4xx debug compilation error in uic.c
Date: Tue, 16 Jun 2009 23:40:54 -0700 (PDT)	[thread overview]
Message-ID: <956902.708.qm@web51905.mail.re2.yahoo.com> (raw)


This patch fixes a debug compilation error for PPC4xx platforms, all other architectures are not affected by this change.  The 'handler' pointer was undefined.  The fix is exercised and has effect only if DEBUG is defined.

Signed-off-by: Alessio Centazzo acpatin {AT} yahoo {DOT} com

diff u-boot-2009.06/cpu/ppc4xx/uic.c.orig u-boot-2009.06/cpu/ppc4xx/uic.c
--- u-boot-2009.06/cpu/ppc4xx/uic.c.orig    2009-06-14 12:30:39.000000000 -0700
+++ u-boot-2009.06/cpu/ppc4xx/uic.c    2009-06-16 23:04:14.000000000 -0700
@@ -164,7 +164,7 @@
     else if (vec >= 96)
         mtdcr(uic3er, mfdcr(uic3er) | UIC_MASK(vec));
 
-    debug("Install interrupt for vector %d ==> %p\n", vec, handler);
+    debug("Enable interrupt for vector %d\n", vec);
 }
 
 void pic_irq_disable(unsigned int vec)



      

             reply	other threads:[~2009-06-17  6:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-17  6:40 Alessio Centazzo [this message]
2009-06-23  8:28 ` [U-Boot] PATCH: Fixed PPC4xx debug compilation error in uic.c Stefan Roese

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=956902.708.qm@web51905.mail.re2.yahoo.com \
    --to=acpatin@yahoo.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox