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.