xref: /openbmc/linux/drivers/misc/sgi-xp/xp_uv.c (revision bc63d387e4f5dbbe4ea0c5ade862c38073fd7fa3)
1*bc63d387SDean Nelson /*
2*bc63d387SDean Nelson  * This file is subject to the terms and conditions of the GNU General Public
3*bc63d387SDean Nelson  * License.  See the file "COPYING" in the main directory of this archive
4*bc63d387SDean Nelson  * for more details.
5*bc63d387SDean Nelson  *
6*bc63d387SDean Nelson  * Copyright (c) 2008 Silicon Graphics, Inc.  All Rights Reserved.
7*bc63d387SDean Nelson  */
8*bc63d387SDean Nelson 
9*bc63d387SDean Nelson /*
10*bc63d387SDean Nelson  * Cross Partition (XP) uv-based functions.
11*bc63d387SDean Nelson  *
12*bc63d387SDean Nelson  *      Architecture specific implementation of common functions.
13*bc63d387SDean Nelson  *
14*bc63d387SDean Nelson  */
15*bc63d387SDean Nelson 
16*bc63d387SDean Nelson #include "xp.h"
17*bc63d387SDean Nelson 
18*bc63d387SDean Nelson enum xp_retval
19*bc63d387SDean Nelson xp_init_uv(void)
20*bc63d387SDean Nelson {
21*bc63d387SDean Nelson 	BUG_ON(!is_uv());
22*bc63d387SDean Nelson 
23*bc63d387SDean Nelson 	xp_max_npartitions = XP_MAX_NPARTITIONS_UV;
24*bc63d387SDean Nelson }
25*bc63d387SDean Nelson 
26*bc63d387SDean Nelson void
27*bc63d387SDean Nelson xp_exit_uv(void)
28*bc63d387SDean Nelson {
29*bc63d387SDean Nelson 	BUG_ON(!is_uv());
30*bc63d387SDean Nelson }
31