2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
6 * Copyright (c) 2008 Silicon Graphics, Inc. All Rights Reserved.
10 * Cross Partition Communication (XPC) uv-based functions.
12 * Architecture specific implementation of common functions.
16 #include <linux/kernel.h>
18 /* >>> #include <gru/grukservices.h> */
19 /* >>> uv_gpa() is defined in <gru/grukservices.h> */
20 #define uv_gpa(_a) ((unsigned long)_a)
22 /* >>> temporarily define next three items for xpc.h */
23 #define SGI_XPC_ACTIVATE 23
24 #define SGI_XPC_NOTIFY 24
25 #define sn_send_IPI_phys(_a, _b, _c, _d)
29 static void *xpc_activate_mq;
32 xpc_rsvd_page_init_uv(struct xpc_rsvd_page *rp)
34 /* >>> need to have established xpc_activate_mq earlier */
35 rp->sn.activate_mq_gpa = uv_gpa(xpc_activate_mq);
42 xpc_rsvd_page_init = xpc_rsvd_page_init_uv;