From: "tip-bot2 for Jason Andryuk" <tip-bot2@linutronix.de>
To: linux-tip-commits@vger.kernel.org
Cc: Jason Andryuk <jandryuk@gmail.com>, Borislav Petkov <bp@suse.de>,
x86 <x86@kernel.org>, LKML <linux-kernel@vger.kernel.org>
Subject: [tip: x86/cleanups] x86/idt: Make idt_descr static
Date: Sat, 20 Jun 2020 09:56:44 -0000 [thread overview]
Message-ID: <159264700439.16989.3787803162777068826.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20200619205103.30873-1-jandryuk@gmail.com>
The following commit has been merged into the x86/cleanups branch of tip:
Commit-ID: 286d966b21587b6303081b902f5c5e30b691baf5
Gitweb: https://git.kernel.org/tip/286d966b21587b6303081b902f5c5e30b691baf5
Author: Jason Andryuk <jandryuk@gmail.com>
AuthorDate: Fri, 19 Jun 2020 16:51:02 -04:00
Committer: Borislav Petkov <bp@suse.de>
CommitterDate: Sat, 20 Jun 2020 11:47:35 +02:00
x86/idt: Make idt_descr static
Commit
3e77abda65b1 ("x86/idt: Consolidate idt functionality")
states that idt_descr could be made static, but it did not actually make
the change. Make it static now.
Fixes: 3e77abda65b1 ("x86/idt: Consolidate idt functionality")
Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200619205103.30873-1-jandryuk@gmail.com
---
arch/x86/kernel/idt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/idt.c b/arch/x86/kernel/idt.c
index 0db2120..7ecf9ba 100644
--- a/arch/x86/kernel/idt.c
+++ b/arch/x86/kernel/idt.c
@@ -160,7 +160,7 @@ static const __initconst struct idt_data apic_idts[] = {
/* Must be page-aligned because the real IDT is used in the cpu entry area */
static gate_desc idt_table[IDT_ENTRIES] __page_aligned_bss;
-struct desc_ptr idt_descr __ro_after_init = {
+static struct desc_ptr idt_descr __ro_after_init = {
.size = IDT_TABLE_SIZE - 1,
.address = (unsigned long) idt_table,
};
prev parent reply other threads:[~2020-06-20 9:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-19 20:51 [PATCH] x86/idt: Make idt_descr static Jason Andryuk
2020-06-20 9:56 ` tip-bot2 for Jason Andryuk [this message]
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=159264700439.16989.3787803162777068826.tip-bot2@tip-bot2 \
--to=tip-bot2@linutronix.de \
--cc=bp@suse.de \
--cc=jandryuk@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=x86@kernel.org \
/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).