diff options
author | Russ Anderson <(rja@sgi.com)> | 2005-08-17 10:00:00 -0700 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-08-24 16:26:13 -0700 |
commit | 5b9021bc5800796e23e4994f8cf2dc61536be0a7 (patch) | |
tree | fdc500b570471049213c1ba623b7f8c5645768d7 /arch/ia64/sn/kernel/sn2 | |
parent | 5390970d1c11b6d5d6a8253a718ed100e2178e14 (diff) | |
download | op-kernel-dev-5b9021bc5800796e23e4994f8cf2dc61536be0a7.zip op-kernel-dev-5b9021bc5800796e23e4994f8cf2dc61536be0a7.tar.gz |
[IA64] SGI SN remove redundant partition SAL call
Clean up of SGI SN partitioning related code.
The SN_SAL_GET_SN_INFO SAL call returns the partition ID, making
the SN_SAL_SYSCTL_PARTITION_GET SAL call redundant. Remove sn_partid
and use sn_partition_id.
Signed-off-by: Russ Anderson (rja@sgi.com)
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/sn/kernel/sn2')
-rw-r--r-- | arch/ia64/sn/kernel/sn2/sn_proc_fs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/sn/kernel/sn2/sn_proc_fs.c b/arch/ia64/sn/kernel/sn2/sn_proc_fs.c index 6a80fca..51bf827 100644 --- a/arch/ia64/sn/kernel/sn2/sn_proc_fs.c +++ b/arch/ia64/sn/kernel/sn2/sn_proc_fs.c @@ -3,7 +3,7 @@ * License. See the file "COPYING" in the main directory of this archive * for more details. * - * Copyright (C) 2000-2004 Silicon Graphics, Inc. All rights reserved. + * Copyright (C) 2000-2005 Silicon Graphics, Inc. All rights reserved. */ #include <linux/config.h> #include <asm/uaccess.h> @@ -15,7 +15,7 @@ static int partition_id_show(struct seq_file *s, void *p) { - seq_printf(s, "%d\n", sn_local_partid()); + seq_printf(s, "%d\n", sn_partition_id); return 0; } |