aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/sgi-xp/xpc.h
diff options
context:
space:
mode:
authorDean Nelson <dcn@sgi.com>2008-07-30 01:34:08 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-30 12:41:49 -0400
commit97bf1aa1e1bb18de9bb1987c6eb9ad751bf08aab (patch)
treec07472cdffc9c53aefa7f7eeb6098b18bc4f7ac1 /drivers/misc/sgi-xp/xpc.h
parentaaa3cd694c0c4ae534e8aafdf4227e395c57d6bd (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.h9
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 *);
624extern void (*xpc_IPI_send_openrequest) (struct xpc_channel *, unsigned long *); 624extern void (*xpc_IPI_send_openrequest) (struct xpc_channel *, unsigned long *);
625extern void (*xpc_IPI_send_openreply) (struct xpc_channel *, unsigned long *); 625extern void (*xpc_IPI_send_openreply) (struct xpc_channel *, unsigned long *);
626 626
627extern enum xp_retval (*xpc_allocate_msg) (struct xpc_channel *, u32, 627extern enum xp_retval (*xpc_send_msg) (struct xpc_channel *, u32, void *, u16,
628 struct xpc_msg **);
629extern enum xp_retval (*xpc_send_msg) (struct xpc_channel *, struct xpc_msg *,
630 u8, xpc_notify_func, void *); 628 u8, xpc_notify_func, void *);
631extern void (*xpc_received_msg) (struct xpc_channel *, struct xpc_msg *); 629extern 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 **);
664extern void xpc_initiate_connect(int); 662extern void xpc_initiate_connect(int);
665extern void xpc_initiate_disconnect(int); 663extern void xpc_initiate_disconnect(int);
666extern enum xp_retval xpc_allocate_msg_wait(struct xpc_channel *); 664extern enum xp_retval xpc_allocate_msg_wait(struct xpc_channel *);
667extern enum xp_retval xpc_initiate_allocate(short, int, u32, void **); 665extern enum xp_retval xpc_initiate_send(short, int, u32, void *, u16);
668extern enum xp_retval xpc_initiate_send(short, int, void *); 666extern enum xp_retval xpc_initiate_send_notify(short, int, u32, void *, u16,
669extern enum xp_retval xpc_initiate_send_notify(short, int, void *,
670 xpc_notify_func, void *); 667 xpc_notify_func, void *);
671extern void xpc_initiate_received(short, int, void *); 668extern void xpc_initiate_received(short, int, void *);
672extern void xpc_process_channel_activity(struct xpc_partition *); 669extern void xpc_process_channel_activity(struct xpc_partition *);