]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/sparc/cpu/leon3/interrupts.c
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / arch / sparc / cpu / leon3 / interrupts.c
index 4138f9b673de19944b49d7370b5f52827e1d3563..a834aa024b23b6a1df511c9ac64d5579942813ad 100644 (file)
  * (C) Copyright 2001
  * Josh Huber <huber@mclx.com>, Mission Critical Linux, Inc.
  *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <asm/stack.h>
@@ -209,9 +193,9 @@ void do_irqinfo(cmd_tbl_t * cmdtp, bd_t * bd, int flag, int argc, char * const a
 
        for (irq = 0; irq < NR_IRQS; irq++) {
                if (irq_handlers[irq].handler != NULL) {
-                       printf("%02d  %08lx  %08lx  %ld\n", irq,
-                              (unsigned int)irq_handlers[irq].handler,
-                              (unsigned int)irq_handlers[irq].arg,
+                       printf("%02d  %p  %p  %d\n", irq,
+                              irq_handlers[irq].handler,
+                              irq_handlers[irq].arg,
                               irq_handlers[irq].count);
                }
        }