]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
microblaze: Remove unused boot_cpuid variable
authorMichal Simek <michal.simek@xilinx.com>
Tue, 4 Feb 2020 16:52:45 +0000 (17:52 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 25 Feb 2020 11:33:19 +0000 (12:33 +0100)
boot_cpuid is not used on uni processor system that's why can be removed.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Stefan Asserhall <stefan.asserhall@xilinx.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
arch/microblaze/include/asm/setup.h
arch/microblaze/kernel/setup.c

index c209d5297029615fc14de442fc30da34be28363c..be10da9d87cb73fbb75a274917e6e8967a63f184 100644 (file)
@@ -10,8 +10,6 @@
 #include <uapi/asm/setup.h>
 
 # ifndef __ASSEMBLY__
-extern unsigned int boot_cpuid; /* move to smp.h */
-
 extern char cmd_line[COMMAND_LINE_SIZE];
 
 extern char *klimit;
index a8fc15ac4291f8b8722c4d66f57907f1b0edab06..dd121e33b8e3877c088227cdaf92421d9890dc16 100644 (file)
@@ -41,7 +41,6 @@ DEFINE_PER_CPU(unsigned int, ENTRY_SP);       /* Saved SP on kernel entry */
 DEFINE_PER_CPU(unsigned int, R11_SAVE);        /* Temp variable for entry */
 DEFINE_PER_CPU(unsigned int, CURRENT_SAVE);    /* Saved current pointer */
 
-unsigned int boot_cpuid;
 /*
  * Placed cmd_line to .data section because can be initialized from
  * ASM code. Default position is BSS section which is cleared