summaryrefslogtreecommitdiffstats
path: root/arch/ia64/sn/kernel/sn2/sn2_smp.c
diff options
context:
space:
mode:
authorBjorn Helgaas2006-03-03 23:33:47 +0100
committerTony Luck2006-03-08 00:26:49 +0100
commit6c5e62159cdef89d8385958c9d8c88efa867110c (patch)
treea8521cbb2e2cee9f5c9d9a9646811ae35d846d2f /arch/ia64/sn/kernel/sn2/sn2_smp.c
parent[IA64] gensparse_defconfig: turn on PNPACPI (diff)
downloadkernel-qcow2-linux-6c5e62159cdef89d8385958c9d8c88efa867110c.tar.gz
kernel-qcow2-linux-6c5e62159cdef89d8385958c9d8c88efa867110c.tar.xz
kernel-qcow2-linux-6c5e62159cdef89d8385958c9d8c88efa867110c.zip
[IA64] don't report !sn2 or !summit hardware as an error
This stuff is all in the generic ia64 kernel, and the new initcall error reporting complains about them. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/sn/kernel/sn2/sn2_smp.c')
-rw-r--r--arch/ia64/sn/kernel/sn2/sn2_smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/sn/kernel/sn2/sn2_smp.c b/arch/ia64/sn/kernel/sn2/sn2_smp.c
index 24eefb2fc55f..b2e1e746b47f 100644
--- a/arch/ia64/sn/kernel/sn2/sn2_smp.c
+++ b/arch/ia64/sn/kernel/sn2/sn2_smp.c
@@ -446,7 +446,7 @@ static struct proc_dir_entry *proc_sn2_ptc;
static int __init sn2_ptc_init(void)
{
if (!ia64_platform_is("sn2"))
- return -ENOSYS;
+ return 0;
if (!(proc_sn2_ptc = create_proc_entry(PTC_BASENAME, 0444, NULL))) {
printk(KERN_ERR "unable to create %s proc entry", PTC_BASENAME);