x86/microcode: Remove unused symbol exports
authorBorislav Petkov <[email protected]>
Mon, 4 Jul 2016 17:05:51 +0000 (19:05 +0200)
committerIngo Molnar <[email protected]>
Fri, 8 Jul 2016 09:30:58 +0000 (11:30 +0200)
It is not a module anymore and those can be retracted.

No functionality change.

Signed-off-by: Borislav Petkov <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/kernel/cpu/microcode/core.c
arch/x86/kernel/cpu/microcode/intel_lib.c

index 9ae7fcac70ab7d48307a5cef5e27ced15a4550af..df04b2d033f68136f514f6c9bbde7b4e541980a0 100644 (file)
@@ -60,7 +60,6 @@ static bool dis_ucode_ldr;
 static DEFINE_MUTEX(microcode_mutex);
 
 struct ucode_cpu_info          ucode_cpu_info[NR_CPUS];
-EXPORT_SYMBOL_GPL(ucode_cpu_info);
 
 /*
  * Operations that are run on a target cpu:
index 2ce1a7dc45b730cde0097e77353b9c426f3782b8..406cb6c0d9ddfabee3d973bbea38a1ed134a8d9a 100644 (file)
@@ -141,7 +141,6 @@ int microcode_sanity_check(void *mc, int print_err)
        }
        return 0;
 }
-EXPORT_SYMBOL_GPL(microcode_sanity_check);
 
 /*
  * Returns 1 if update has been found, 0 otherwise.
@@ -183,4 +182,3 @@ int has_newer_microcode(void *mc, unsigned int csig, int cpf, int new_rev)
 
        return find_matching_signature(mc, csig, cpf);
 }
-EXPORT_SYMBOL_GPL(has_newer_microcode);