x86/platform/uv: Mark uv_min_hub_revision_id static
authorChristoph Hellwig <hch@lst.de>
Mon, 4 May 2020 17:15:23 +0000 (19:15 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 7 May 2020 13:32:22 +0000 (15:32 +0200)
This variable is only used inside x2apic_uv_x and not even declared
in a header.

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-8-hch@lst.de
arch/x86/kernel/apic/x2apic_uv_x.c

index cb07a98771f9f5b520761da959f976969c941d88..f1a0142e2731936f923956c27e98b0138cf916bc 100644 (file)
@@ -48,8 +48,7 @@ static struct {
        unsigned int gnode_shift;
 } uv_cpuid;
 
-int uv_min_hub_revision_id;
-EXPORT_SYMBOL_GPL(uv_min_hub_revision_id);
+static int uv_min_hub_revision_id;
 
 unsigned int uv_apicid_hibits;
 EXPORT_SYMBOL_GPL(uv_apicid_hibits);