[PATCH] irq-flags: documentation: Use the new IRQF_ constants
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: "David S. Miller" <davem@davemloft.net> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: "Randy.Dunlap" <rdunlap@xenotime.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

gecommit door
Linus Torvalds

bovenliggende
65ca68b300
commit
6ce6c7faf2
@@ -1149,7 +1149,7 @@
|
||||
}
|
||||
chip->port = pci_resource_start(pci, 0);
|
||||
if (request_irq(pci->irq, snd_mychip_interrupt,
|
||||
SA_INTERRUPT|SA_SHIRQ, "My Chip", chip)) {
|
||||
IRQF_DISABLED|IRQF_SHARED, "My Chip", chip)) {
|
||||
printk(KERN_ERR "cannot grab irq %d\n", pci->irq);
|
||||
snd_mychip_free(chip);
|
||||
return -EBUSY;
|
||||
@@ -1323,7 +1323,7 @@
|
||||
<programlisting>
|
||||
<![CDATA[
|
||||
if (request_irq(pci->irq, snd_mychip_interrupt,
|
||||
SA_INTERRUPT|SA_SHIRQ, "My Chip", chip)) {
|
||||
IRQF_DISABLED|IRQF_SHARED, "My Chip", chip)) {
|
||||
printk(KERN_ERR "cannot grab irq %d\n", pci->irq);
|
||||
snd_mychip_free(chip);
|
||||
return -EBUSY;
|
||||
@@ -1342,7 +1342,7 @@
|
||||
|
||||
<para>
|
||||
On the PCI bus, the interrupts can be shared. Thus,
|
||||
<constant>SA_SHIRQ</constant> is given as the interrupt flag of
|
||||
<constant>IRQF_SHARED</constant> is given as the interrupt flag of
|
||||
<function>request_irq()</function>.
|
||||
</para>
|
||||
|
||||
|
Verwijs in nieuw issue
Block a user