You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[PATCH] powerpc: enable irq's for platform functions.
Make the platform function interrupt functions actually work. Calls irq_enable() for the first in the list, and irq_disable() for the last. Added *func to struct irq_client so the the user can pass just that to pmf_unregister_irq_client(). Signed-off-by: Ben Collins <bcollins@ubuntu.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
b62735d9c6
commit
cc0fa84a01
@@ -167,6 +167,7 @@ struct pmf_irq_client {
|
||||
void *data;
|
||||
struct module *owner;
|
||||
struct list_head link;
|
||||
struct pmf_function *func;
|
||||
};
|
||||
|
||||
|
||||
@@ -187,9 +188,7 @@ extern int pmf_register_irq_client(struct device_node *np,
|
||||
const char *name,
|
||||
struct pmf_irq_client *client);
|
||||
|
||||
extern void pmf_unregister_irq_client(struct device_node *np,
|
||||
const char *name,
|
||||
struct pmf_irq_client *client);
|
||||
extern void pmf_unregister_irq_client(struct pmf_irq_client *client);
|
||||
|
||||
/*
|
||||
* Called by the handlers when an irq happens
|
||||
|
||||
Reference in New Issue
Block a user