diff options
author | Dean Nelson <dcn@sgi.com> | 2008-07-30 01:34:06 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-30 12:41:49 -0400 |
commit | e17d416b1bc947df68499863f13b401fb42b48f6 (patch) | |
tree | d0c766c93dce9acb27948022b1613347981fd9b3 /drivers/misc/sgi-xp/xpc_uv.c | |
parent | 94bd2708d4a95d7da5a1c7c28a063eccd127fb69 (diff) |
sgi-xp: isolate xpc_vars_part structure to sn2 only
Isolate the xpc_vars_part structure of XPC's reserved page to sn2 only.
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_uv.c')
-rw-r--r-- | drivers/misc/sgi-xp/xpc_uv.c | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/drivers/misc/sgi-xp/xpc_uv.c b/drivers/misc/sgi-xp/xpc_uv.c index 8327cd4017ec..770f0a8c669e 100644 --- a/drivers/misc/sgi-xp/xpc_uv.c +++ b/drivers/misc/sgi-xp/xpc_uv.c | |||
@@ -36,10 +36,58 @@ xpc_rsvd_page_init_uv(struct xpc_rsvd_page *rp) | |||
36 | return xpSuccess; | 36 | return xpSuccess; |
37 | } | 37 | } |
38 | 38 | ||
39 | /* | ||
40 | * Setup the infrastructure necessary to support XPartition Communication | ||
41 | * between the specified remote partition and the local one. | ||
42 | */ | ||
43 | static enum xp_retval | ||
44 | xpc_setup_infrastructure_uv(struct xpc_partition *part) | ||
45 | { | ||
46 | /* >>> this function needs fleshing out */ | ||
47 | return xpUnsupported; | ||
48 | } | ||
49 | |||
50 | /* | ||
51 | * Teardown the infrastructure necessary to support XPartition Communication | ||
52 | * between the specified remote partition and the local one. | ||
53 | */ | ||
54 | static void | ||
55 | xpc_teardown_infrastructure_uv(struct xpc_partition *part) | ||
56 | { | ||
57 | /* >>> this function needs fleshing out */ | ||
58 | return; | ||
59 | } | ||
60 | |||
61 | static enum xp_retval | ||
62 | xpc_make_first_contact_uv(struct xpc_partition *part) | ||
63 | { | ||
64 | /* >>> this function needs fleshing out */ | ||
65 | return xpUnsupported; | ||
66 | } | ||
67 | |||
68 | static u64 | ||
69 | xpc_get_IPI_flags_uv(struct xpc_partition *part) | ||
70 | { | ||
71 | /* >>> this function needs fleshing out */ | ||
72 | return 0UL; | ||
73 | } | ||
74 | |||
75 | static struct xpc_msg * | ||
76 | xpc_get_deliverable_msg_uv(struct xpc_channel *ch) | ||
77 | { | ||
78 | /* >>> this function needs fleshing out */ | ||
79 | return NULL; | ||
80 | } | ||
81 | |||
39 | void | 82 | void |
40 | xpc_init_uv(void) | 83 | xpc_init_uv(void) |
41 | { | 84 | { |
42 | xpc_rsvd_page_init = xpc_rsvd_page_init_uv; | 85 | xpc_rsvd_page_init = xpc_rsvd_page_init_uv; |
86 | xpc_setup_infrastructure = xpc_setup_infrastructure_uv; | ||
87 | xpc_teardown_infrastructure = xpc_teardown_infrastructure_uv; | ||
88 | xpc_make_first_contact = xpc_make_first_contact_uv; | ||
89 | xpc_get_IPI_flags = xpc_get_IPI_flags_uv; | ||
90 | xpc_get_deliverable_msg = xpc_get_deliverable_msg_uv; | ||
43 | } | 91 | } |
44 | 92 | ||
45 | void | 93 | void |