Re: [PATCH] parisc, don't claim cpu irqs more than once

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John David Anglin wrote:
> The CPU irqs (timer and IPI) are not shared and only need to be claimed
> once.  A mismatch error occurs if they are claimed more than once.
> 
> Signed-off-by: John David Anglin <dave.anglin@xxxxxxxxxxxxxx>
> Cc: Kyle McMartin <kyle@xxxxxxxxxxx>
> Cc: Helge Deller <deller@xxxxxx>
> Cc: "James E.J. Bottomley" <jejb@xxxxxxxxxxxxxxxx>
> 
> Dave

It's a bad idea to put the patch behind your signature as it then get's 
stripped by mailers when replying. Anyway...

>         int i;
> +#ifdef CONFIG_SMP
> +       static int irqs_claimed;
> +       if (irqs_claimed)
> +               return;
> +       irqs_claimed = 1;
> +#endif

Shouldn't this be bool then? Now that we have it.

Eike

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux