diff options
Diffstat (limited to 'drivers/misc/sgi-xp/xpc_main.c')
-rw-r--r-- | drivers/misc/sgi-xp/xpc_main.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/misc/sgi-xp/xpc_main.c b/drivers/misc/sgi-xp/xpc_main.c index 6576170de96..1ab9fda87fa 100644 --- a/drivers/misc/sgi-xp/xpc_main.c +++ b/drivers/misc/sgi-xp/xpc_main.c | |||
@@ -171,6 +171,7 @@ static struct notifier_block xpc_die_notifier = { | |||
171 | }; | 171 | }; |
172 | 172 | ||
173 | int (*xpc_setup_partitions_sn) (void); | 173 | int (*xpc_setup_partitions_sn) (void); |
174 | void (*xpc_teardown_partitions_sn) (void); | ||
174 | enum xp_retval (*xpc_get_partition_rsvd_page_pa) (void *buf, u64 *cookie, | 175 | enum xp_retval (*xpc_get_partition_rsvd_page_pa) (void *buf, u64 *cookie, |
175 | unsigned long *rp_pa, | 176 | unsigned long *rp_pa, |
176 | size_t *len); | 177 | size_t *len); |
@@ -217,8 +218,8 @@ void (*xpc_send_chctl_openrequest) (struct xpc_channel *ch, | |||
217 | void (*xpc_send_chctl_openreply) (struct xpc_channel *ch, | 218 | void (*xpc_send_chctl_openreply) (struct xpc_channel *ch, |
218 | unsigned long *irq_flags); | 219 | unsigned long *irq_flags); |
219 | 220 | ||
220 | void (*xpc_save_remote_msgqueue_pa) (struct xpc_channel *ch, | 221 | enum xp_retval (*xpc_save_remote_msgqueue_pa) (struct xpc_channel *ch, |
221 | unsigned long msgqueue_pa); | 222 | unsigned long msgqueue_pa); |
222 | 223 | ||
223 | enum xp_retval (*xpc_send_payload) (struct xpc_channel *ch, u32 flags, | 224 | enum xp_retval (*xpc_send_payload) (struct xpc_channel *ch, u32 flags, |
224 | void *payload, u16 payload_size, | 225 | void *payload, u16 payload_size, |
@@ -998,6 +999,7 @@ xpc_setup_partitions(void) | |||
998 | static void | 999 | static void |
999 | xpc_teardown_partitions(void) | 1000 | xpc_teardown_partitions(void) |
1000 | { | 1001 | { |
1002 | xpc_teardown_partitions_sn(); | ||
1001 | kfree(xpc_partitions); | 1003 | kfree(xpc_partitions); |
1002 | } | 1004 | } |
1003 | 1005 | ||