Re: tick-common.c hack for s390 needed

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Heiko Carstens
Date: Monday, March 24, 2008 - 3:14 am

On Sun, Mar 23, 2008 at 10:34:55PM +0000, Russell King wrote:

Every architecture besides one... as usual :/


Could you add something like

#ifdef CONFIG_GENERIC_HARDIRQS

/* added stuff from above */

#else /* CONFIG_GENERIC_HARDIRQS */

static inline int irq_set_affinity(unsigned int irq, cpumask_t cpumask)
{
	WARN_ON(1);
	return -EINVAL;
}

static inline int irq_can_set_affinity(unsigned int irq)
{
	return 0;
}
#endif /* CONFIG_GENERIC_HARDIRQS */

Then it should do the right thing on s390 as well.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
tick-common.c hack for s390 needed, Heiko Carstens, (Tue Mar 18, 2:31 am)
Re: tick-common.c hack for s390 needed, Arnd Bergmann, (Tue Mar 18, 9:12 pm)
Re: tick-common.c hack for s390 needed, Christoph Hellwig, (Tue Mar 18, 10:45 pm)
Re: tick-common.c hack for s390 needed, Ingo Molnar, (Fri Mar 21, 3:15 am)
Re: tick-common.c hack for s390 needed, Heiko Carstens, (Fri Mar 21, 6:25 am)
Re: tick-common.c hack for s390 needed, Thomas Gleixner, (Fri Mar 21, 7:45 am)
Re: tick-common.c hack for s390 needed, Heiko Carstens, (Sat Mar 22, 1:32 pm)
Re: tick-common.c hack for s390 needed, Russell King, (Sun Mar 23, 3:34 pm)
Re: tick-common.c hack for s390 needed, Heiko Carstens, (Mon Mar 24, 3:14 am)
Re: tick-common.c hack for s390 needed, Thomas Gleixner, (Tue Mar 25, 12:09 pm)