Skip to content

Commit d9d2b2f

Browse files
author
Michal Simek
committed
microblaze: Remove unused boot_cpuid variable
boot_cpuid is not used on uni processor system that's why can be removed. Signed-off-by: Michal Simek <[email protected]> Reviewed-by: Stefan Asserhall <[email protected]> Reviewed-by: Arnd Bergmann <[email protected]>
1 parent 9e190c5 commit d9d2b2f

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

arch/microblaze/include/asm/setup.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
#include <uapi/asm/setup.h>
1111

1212
# ifndef __ASSEMBLY__
13-
extern unsigned int boot_cpuid; /* move to smp.h */
14-
1513
extern char cmd_line[COMMAND_LINE_SIZE];
1614

1715
extern char *klimit;

arch/microblaze/kernel/setup.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ DEFINE_PER_CPU(unsigned int, ENTRY_SP); /* Saved SP on kernel entry */
4141
DEFINE_PER_CPU(unsigned int, R11_SAVE); /* Temp variable for entry */
4242
DEFINE_PER_CPU(unsigned int, CURRENT_SAVE); /* Saved current pointer */
4343

44-
unsigned int boot_cpuid;
4544
/*
4645
* Placed cmd_line to .data section because can be initialized from
4746
* ASM code. Default position is BSS section which is cleared

0 commit comments

Comments
 (0)