summaryrefslogtreecommitdiffstats
path: root/arch/ia64/sn/kernel/xpc_main.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-09-08 17:26:52 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-08 17:26:52 -0700
commit4fe8a0f4c5d64cbc78227a88df4566c0d0ee4648 (patch)
tree9dc3fc8276d987058cd8f3826113c5baa2a1b595 /arch/ia64/sn/kernel/xpc_main.c
parent529980c8b0b04e8a3f6606cdc156f1f81a5d68cd (diff)
parent344a076110f4ecb16ea6d286b63be696604982ed (diff)
Merge branch 'release' of master.kernel.org:/pub/scm/linux/kernel/git/aegl/linux-2.6
Diffstat (limited to 'arch/ia64/sn/kernel/xpc_main.c')
-rw-r--r--arch/ia64/sn/kernel/xpc_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/ia64/sn/kernel/xpc_main.c b/arch/ia64/sn/kernel/xpc_main.c
index bb1d5cf3044..ed7c21586e9 100644
--- a/arch/ia64/sn/kernel/xpc_main.c
+++ b/arch/ia64/sn/kernel/xpc_main.c
@@ -885,6 +885,10 @@ xpc_init(void)
pid_t pid;
+ if (!ia64_platform_is("sn2")) {
+ return -ENODEV;
+ }
+
/*
* xpc_remote_copy_buffer is used as a temporary buffer for bte_copy'ng
* both a partition's reserved page and its XPC variables. Its size was