lkml.org 
[lkml]   [2009]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [GIT pull] genirq fixes for 2.6.31
Thomas Gleixner wrote:
> +/*
> * Interrupt handler thread
> */
> static int irq_thread(void *data)
> @@ -458,6 +494,8 @@ static int irq_thread(void *data)
>
> while (!irq_wait_for_interrupt(action)) {
>
> + irq_thread_check_affinity(desc, action);
> +
> atomic_inc(&desc->threads_active);
>
> spin_lock_irq(&desc->lock);

Any chance we could do this in a way that doesn't break the build for CONFIG_SMP=n? :)

Should this call simply be wrapped in an #ifdef, or should the function be defined for !SMP?

--
Kevin Winchester




\
 
 \ /
  Last update: 2009-07-23 01:31    [W:0.032 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site