x86: Add UV sysfs entries
PATCH 4/7 x86: Add UV sysfs entries
[PATCH 4/7] x86: Add UV sysfs entries
Create /sys/firmware/sgi_uv sysfs entries for partition_id and coherence_id.
Signed-off-by Russ Anderson <[email protected]>
--- arch/x86/kernel/Makefile | 2 - arch/x86/kernel/uv_sysfs.c | 72 +++++++++++++++++++++++++++++++++++++++++++++ include/asm-x86/uv/bios.h | 1 3 files changed, 74 insertions(+), 1 deletion(-)
arch/x86/kernel/Makefile +1 -1
@@ -107,7 +107,7 @@ obj-$(CONFIG_OLPC) += olpc.o # 64 bit specific files ifeq ($(CONFIG_X86_64),y) obj-y += genapic_64.o genapic_flat_64.o genx2apic_uv_x.o tlb_uv.o - obj-y += bios_uv.o + obj-y += bios_uv.o uv_sysfs.o obj-y += genx2apic_cluster.o obj-y += genx2apic_phys.o obj-$(CONFIG_X86_PM_TIMER) += pmtimer_64.o
arch/x86/kernel/uv_sysfs.c new file +72 -0
72 lines not on this page · raw message
include/asm-x86/uv/bios.h +1 -0
@@ -89,5 +89,6 @@ extern long sn_coherency_id;extern long sn_region_size;#define partition_coherence_id () (sn_coherency_id) +extern struct kobject *sgi_uv_kobj;/* /sys/firmware/sgi_uv */ #endif /* ASM_X86__UV__BIOS_H */
Signature · 2 lines
Russ Anderson, OS RAS/Partitioning Project Lead SGI - Silicon Graphics Inc [email protected]