diff options
author | Russ Anderson <rja@sgi.com> | 2009-12-17 11:53:25 -0500 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-12-17 14:33:51 -0500 |
commit | b76365a18f7593c9df32a74bf2b4a39741b67bc6 (patch) | |
tree | b98830bd576337c2f4a074a123834392660c80ae /arch/x86/include/asm/uv | |
parent | b8a7f3cd7e8212e5c572178ff3b5a514861036a5 (diff) |
x86, uv: Add serial number parameter to uv_bios_get_sn_info()
Add system_serial_number to the information returned by
uv_bios_get_sn_info() UV BIOS call.
Signed-off-by: Russ Anderson <rja@sgi.com>
LKML-Reference: <20091217165323.GA30774@sgi.com>
Cc: Jack Steiner <steiner@sgi.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/include/asm/uv')
-rw-r--r-- | arch/x86/include/asm/uv/bios.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/x86/include/asm/uv/bios.h b/arch/x86/include/asm/uv/bios.h index 2751f3075d8b..3fbc1f348a7d 100644 --- a/arch/x86/include/asm/uv/bios.h +++ b/arch/x86/include/asm/uv/bios.h | |||
@@ -18,8 +18,8 @@ | |||
18 | * along with this program; if not, write to the Free Software | 18 | * along with this program; if not, write to the Free Software |
19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 19 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
20 | * | 20 | * |
21 | * Copyright (c) 2008 Silicon Graphics, Inc. All Rights Reserved. | 21 | * Copyright (c) 2008-2009 Silicon Graphics, Inc. All Rights Reserved. |
22 | * Copyright (c) Russ Anderson | 22 | * Copyright (c) Russ Anderson <rja@sgi.com> |
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include <linux/rtc.h> | 25 | #include <linux/rtc.h> |
@@ -89,7 +89,7 @@ extern s64 uv_bios_call(enum uv_bios_cmd, u64, u64, u64, u64, u64); | |||
89 | extern s64 uv_bios_call_irqsave(enum uv_bios_cmd, u64, u64, u64, u64, u64); | 89 | extern s64 uv_bios_call_irqsave(enum uv_bios_cmd, u64, u64, u64, u64, u64); |
90 | extern s64 uv_bios_call_reentrant(enum uv_bios_cmd, u64, u64, u64, u64, u64); | 90 | extern s64 uv_bios_call_reentrant(enum uv_bios_cmd, u64, u64, u64, u64, u64); |
91 | 91 | ||
92 | extern s64 uv_bios_get_sn_info(int, int *, long *, long *, long *); | 92 | extern s64 uv_bios_get_sn_info(int, int *, long *, long *, long *, long *); |
93 | extern s64 uv_bios_freq_base(u64, u64 *); | 93 | extern s64 uv_bios_freq_base(u64, u64 *); |
94 | extern int uv_bios_mq_watchlist_alloc(unsigned long, unsigned int, | 94 | extern int uv_bios_mq_watchlist_alloc(unsigned long, unsigned int, |
95 | unsigned long *); | 95 | unsigned long *); |
@@ -104,6 +104,7 @@ extern int uv_type; | |||
104 | extern long sn_partition_id; | 104 | extern long sn_partition_id; |
105 | extern long sn_coherency_id; | 105 | extern long sn_coherency_id; |
106 | extern long sn_region_size; | 106 | extern long sn_region_size; |
107 | extern long system_serial_number; | ||
107 | #define partition_coherence_id() (sn_coherency_id) | 108 | #define partition_coherence_id() (sn_coherency_id) |
108 | 109 | ||
109 | extern struct kobject *sgi_uv_kobj; /* /sys/firmware/sgi_uv */ | 110 | extern struct kobject *sgi_uv_kobj; /* /sys/firmware/sgi_uv */ |