diff options
author | Dean Nelson <dcn@sgi.com> | 2008-07-30 01:34:08 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-30 12:41:49 -0400 |
commit | 97bf1aa1e1bb18de9bb1987c6eb9ad751bf08aab (patch) | |
tree | c07472cdffc9c53aefa7f7eeb6098b18bc4f7ac1 /drivers/misc/sgi-xp/xpc.h | |
parent | aaa3cd694c0c4ae534e8aafdf4227e395c57d6bd (diff) |
sgi-xp: move xpc_allocate() into xpc_send()/xpc_send_notify()
Move xpc_allocate() functionality into xpc_send()/xpc_send_notify() so
xpc_allocate() no longer needs to be called by XPNET.
Signed-off-by: Dean Nelson <dcn@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc/sgi-xp/xpc.h')
-rw-r--r-- | drivers/misc/sgi-xp/xpc.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/misc/sgi-xp/xpc.h b/drivers/misc/sgi-xp/xpc.h index 56bf5dcc391d..6b622b091bde 100644 --- a/drivers/misc/sgi-xp/xpc.h +++ b/drivers/misc/sgi-xp/xpc.h | |||
@@ -624,9 +624,7 @@ extern void (*xpc_IPI_send_closereply) (struct xpc_channel *, unsigned long *); | |||
624 | extern void (*xpc_IPI_send_openrequest) (struct xpc_channel *, unsigned long *); | 624 | extern void (*xpc_IPI_send_openrequest) (struct xpc_channel *, unsigned long *); |
625 | extern void (*xpc_IPI_send_openreply) (struct xpc_channel *, unsigned long *); | 625 | extern void (*xpc_IPI_send_openreply) (struct xpc_channel *, unsigned long *); |
626 | 626 | ||
627 | extern enum xp_retval (*xpc_allocate_msg) (struct xpc_channel *, u32, | 627 | extern enum xp_retval (*xpc_send_msg) (struct xpc_channel *, u32, void *, u16, |
628 | struct xpc_msg **); | ||
629 | extern enum xp_retval (*xpc_send_msg) (struct xpc_channel *, struct xpc_msg *, | ||
630 | u8, xpc_notify_func, void *); | 628 | u8, xpc_notify_func, void *); |
631 | extern void (*xpc_received_msg) (struct xpc_channel *, struct xpc_msg *); | 629 | extern void (*xpc_received_msg) (struct xpc_channel *, struct xpc_msg *); |
632 | 630 | ||
@@ -664,9 +662,8 @@ extern void *xpc_kzalloc_cacheline_aligned(size_t, gfp_t, void **); | |||
664 | extern void xpc_initiate_connect(int); | 662 | extern void xpc_initiate_connect(int); |
665 | extern void xpc_initiate_disconnect(int); | 663 | extern void xpc_initiate_disconnect(int); |
666 | extern enum xp_retval xpc_allocate_msg_wait(struct xpc_channel *); | 664 | extern enum xp_retval xpc_allocate_msg_wait(struct xpc_channel *); |
667 | extern enum xp_retval xpc_initiate_allocate(short, int, u32, void **); | 665 | extern enum xp_retval xpc_initiate_send(short, int, u32, void *, u16); |
668 | extern enum xp_retval xpc_initiate_send(short, int, void *); | 666 | extern enum xp_retval xpc_initiate_send_notify(short, int, u32, void *, u16, |
669 | extern enum xp_retval xpc_initiate_send_notify(short, int, void *, | ||
670 | xpc_notify_func, void *); | 667 | xpc_notify_func, void *); |
671 | extern void xpc_initiate_received(short, int, void *); | 668 | extern void xpc_initiate_received(short, int, void *); |
672 | extern void xpc_process_channel_activity(struct xpc_partition *); | 669 | extern void xpc_process_channel_activity(struct xpc_partition *); |