summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/uv
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-05-04 19:15:18 +0200
committerThomas Gleixner <tglx@linutronix.de>2020-05-07 15:32:19 +0200
commit32988cfd579f7912aeb9a66bf44ca4ce0fa860f1 (patch)
treeadb5167f70d8f6b32da61f789bee6f6b593d570d /arch/x86/include/asm/uv
parent30ad8db3a2c2e0121202342c6c2a48fc28937056 (diff)
downloadlinux-stable-32988cfd579f7912aeb9a66bf44ca4ce0fa860f1.tar.gz
linux-stable-32988cfd579f7912aeb9a66bf44ca4ce0fa860f1.tar.bz2
linux-stable-32988cfd579f7912aeb9a66bf44ca4ce0fa860f1.zip
x86/platform/uv: Remove the uv_partition_coherence_id() macro
uv_partition_coherence_id() is only used once. Just open code it in the only user. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Not-acked-by: Dimitri Sivanich <sivanich@hpe.com> Cc: Russ Anderson <rja@hpe.com> Link: https://lkml.kernel.org/r/20200504171527.2845224-3-hch@lst.de
Diffstat (limited to 'arch/x86/include/asm/uv')
-rw-r--r--arch/x86/include/asm/uv/bios.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/uv/bios.h b/arch/x86/include/asm/uv/bios.h
index fc85dafa5e49..2fcc3ac12e76 100644
--- a/arch/x86/include/asm/uv/bios.h
+++ b/arch/x86/include/asm/uv/bios.h
@@ -140,7 +140,6 @@ extern long sn_partition_id;
extern long sn_coherency_id;
extern long sn_region_size;
extern long system_serial_number;
-#define uv_partition_coherence_id() (sn_coherency_id)
extern struct kobject *sgi_uv_kobj; /* /sys/firmware/sgi_uv */