* [PATCH] sn/kernel/irq.o link failure in 2.6.10
@ 2005-01-08 2:39 dann frazier
2005-01-08 17:59 ` Jesse Barnes
0 siblings, 1 reply; 2+ messages in thread
From: dann frazier @ 2005-01-08 2:39 UTC (permalink / raw)
To: linux-ia64
This patch defines a no-op set_irq_affinity_info() when CONFIG_SMP is not set,
fixing a linking error in sn_set_affinity_irq().
Signed-off-by: dann frazier <dannf@hp.com>
--- linux-2.6.10.orig/arch/ia64/kernel/irq.c 2004-12-24 14:35:27.000000000 -0700
+++ linux-2.6.10/arch/ia64/kernel/irq.c 2005-01-07 18:56:16.819383593 -0700
@@ -1040,6 +1040,11 @@
}
}
+#else /* !CONFIG_SMP */
+
+void set_irq_affinity_info (unsigned int irq, int hwid, int redir)
+{
+}
#endif /* CONFIG_SMP */
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] sn/kernel/irq.o link failure in 2.6.10
2005-01-08 2:39 [PATCH] sn/kernel/irq.o link failure in 2.6.10 dann frazier
@ 2005-01-08 17:59 ` Jesse Barnes
0 siblings, 0 replies; 2+ messages in thread
From: Jesse Barnes @ 2005-01-08 17:59 UTC (permalink / raw)
To: linux-ia64
On Friday, January 07, 2005 6:39 pm, dann frazier wrote:
> This patch defines a no-op set_irq_affinity_info() when CONFIG_SMP is not
> set, fixing a linking error in sn_set_affinity_irq().
>
> Signed-off-by: dann frazier <dannf@hp.com>
>
> --- linux-2.6.10.orig/arch/ia64/kernel/irq.c 2004-12-24 14:35:27.000000000
> -0700 +++ linux-2.6.10/arch/ia64/kernel/irq.c 2005-01-07 18:56:16.819383593
> -0700 @@ -1040,6 +1040,11 @@
> }
> }
>
> +#else /* !CONFIG_SMP */
> +
> +void set_irq_affinity_info (unsigned int irq, int hwid, int redir)
> +{
> +}
>
> #endif /* CONFIG_SMP */
This one looks good, Dann. Thanks.
Jesse
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-01-08 17:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-08 2:39 [PATCH] sn/kernel/irq.o link failure in 2.6.10 dann frazier
2005-01-08 17:59 ` Jesse Barnes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox