public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Bjorn Helgaas <bjorn.helgaas@hp.com>
To: linux-ia64@vger.kernel.org
Subject: [PATCH] fix IRQ types
Date: Thu, 29 Jul 2004 16:33:15 +0000	[thread overview]
Message-ID: <200407291033.15577.bjorn.helgaas@hp.com> (raw)

Fix IRQ type in platform irq_to_vector functions.  Should be
"unsigned int", but some places were "u8".

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>

=== arch/ia64/sn/kernel/irq.c 1.24 vs edited ==--- 1.24/arch/ia64/sn/kernel/irq.c	2004-06-30 07:31:06 -06:00
+++ edited/arch/ia64/sn/kernel/irq.c	2004-07-29 10:17:28 -06:00
@@ -188,7 +188,7 @@
 }
 
 u8
-sn_irq_to_vector(u8 irq)
+sn_irq_to_vector(unsigned int irq)
 {
 	return(irq);
 }
=== include/asm-ia64/machvec.h 1.25 vs edited ==--- 1.25/include/asm-ia64/machvec.h	2004-07-10 18:14:00 -06:00
+++ edited/include/asm-ia64/machvec.h	2004-07-29 10:20:36 -06:00
@@ -29,8 +29,8 @@
 typedef void ia64_mv_global_tlb_purge_t (unsigned long, unsigned long, unsigned long);
 typedef void ia64_mv_tlb_migrate_finish_t (struct mm_struct *);
 typedef struct irq_desc *ia64_mv_irq_desc (unsigned int);
-typedef u8 ia64_mv_irq_to_vector (u8);
-typedef unsigned int ia64_mv_local_vector_to_irq (u8 vector);
+typedef u8 ia64_mv_irq_to_vector (unsigned int);
+typedef unsigned int ia64_mv_local_vector_to_irq (u8);
 
 /* DMA-mapping interface: */
 typedef void ia64_mv_dma_init (void);

             reply	other threads:[~2004-07-29 16:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-29 16:33 Bjorn Helgaas [this message]
2004-07-29 16:33 ` [PATCH] fix IRQ types Jesse Barnes

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=200407291033.15577.bjorn.helgaas@hp.com \
    --to=bjorn.helgaas@hp.com \
    --cc=linux-ia64@vger.kernel.org \
    /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