public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix IRQ types
@ 2004-07-29 16:33 Bjorn Helgaas
  2004-07-29 16:33 ` Jesse Barnes
  0 siblings, 1 reply; 2+ messages in thread
From: Bjorn Helgaas @ 2004-07-29 16:33 UTC (permalink / raw)
  To: linux-ia64

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);

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-29 16:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-29 16:33 [PATCH] fix IRQ types Bjorn Helgaas
2004-07-29 16:33 ` Jesse Barnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox