From: Michal Simek <michal.simek@xilinx.com>
To: linux-kernel@vger.kernel.org, monstr@monstr.eu,
michal.simek@xilinx.com, git@xilinx.com, arnd@arndb.de
Cc: Stefan Asserhall <stefan.asserhall@xilinx.com>,
Arvind Sankar <nivedita@alum.mit.edu>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Subject: [PATCH 08/10] microblaze: Remove unused boot_cpuid variable
Date: Wed, 12 Feb 2020 09:58:05 +0100 [thread overview]
Message-ID: <658d8948b81137b205b02032bda43d2ea6998fe7.1581497860.git.michal.simek@xilinx.com> (raw)
In-Reply-To: <cover.1581497860.git.michal.simek@xilinx.com>
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>
---
arch/microblaze/include/asm/setup.h | 2 --
arch/microblaze/kernel/setup.c | 1 -
2 files changed, 3 deletions(-)
diff --git a/arch/microblaze/include/asm/setup.h b/arch/microblaze/include/asm/setup.h
index c209d5297029..be10da9d87cb 100644
--- a/arch/microblaze/include/asm/setup.h
+++ b/arch/microblaze/include/asm/setup.h
@@ -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;
diff --git a/arch/microblaze/kernel/setup.c b/arch/microblaze/kernel/setup.c
index a8fc15ac4291..dd121e33b8e3 100644
--- a/arch/microblaze/kernel/setup.c
+++ b/arch/microblaze/kernel/setup.c
@@ -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
--
2.25.0
next prev parent reply other threads:[~2020-02-12 8:58 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-12 8:57 [PATCH 00/10] Hi, Michal Simek
2020-02-12 8:57 ` [PATCH 01/10] microblaze: Convert headers to SPDX license Michal Simek
2020-02-12 8:57 ` [PATCH 02/10] microblaze: Remove architecture tlb.h and use generic one Michal Simek
2020-02-12 8:58 ` [PATCH 03/10] microblaze: Remove early printk setup Michal Simek
2020-02-12 8:58 ` [PATCH 04/10] microblaze: Remove empty headers Michal Simek
2020-02-12 8:58 ` [PATCH 05/10] microblaze: Define microblaze barrier Michal Simek
2020-02-12 8:58 ` [PATCH 06/10] microblaze: Add sync to tlb operations Michal Simek
2020-02-12 13:00 ` Arnd Bergmann
2020-02-12 13:01 ` Michal Simek
2020-02-12 8:58 ` [PATCH 07/10] microblaze: Add missing irqflags.h header Michal Simek
2020-02-12 8:58 ` Michal Simek [this message]
2020-02-12 8:58 ` [PATCH 09/10] microblaze: Define percpu sestion in linker file Michal Simek
2020-02-12 8:58 ` [PATCH 10/10] microblaze: Use asm generic cmpxchg.h for !SMP case Michal Simek
2020-02-12 13:02 ` [PATCH 00/10] Hi, Arnd Bergmann
2020-02-12 13:32 ` Michal Simek
2020-02-13 23:47 ` Rob Herring
2020-02-17 14:27 ` Michal Simek
2020-02-25 16:32 ` Rob Herring
2020-02-27 7:31 ` Michal Simek
[not found] ` <BYAPR02MB5559708A5A584D05516D77EBA58A0@BYAPR02MB5559.namprd02.prod.outlook.com>
2020-06-01 14:05 ` Rob Herring
2020-02-25 11:34 ` Michal Simek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=658d8948b81137b205b02032bda43d2ea6998fe7.1581497860.git.michal.simek@xilinx.com \
--to=michal.simek@xilinx.com \
--cc=arnd@arndb.de \
--cc=git@xilinx.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=monstr@monstr.eu \
--cc=nivedita@alum.mit.edu \
--cc=shubhrajyoti.datta@xilinx.com \
--cc=stefan.asserhall@xilinx.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).