lkml.org 
[lkml]   [2024]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[tip: x86/microcode] x86/microcode/AMD: Remove unused PATCH_MAX_SIZE macro
The following commit has been merged into the x86/microcode branch of tip:

Commit-ID: 3287c22957b401903e4933a81eea9191788da33b
Gitweb: https://git.kernel.org/tip/3287c22957b401903e4933a81eea9191788da33b
Author: Borislav Petkov (AMD) <bp@alien8.de>
AuthorDate: Fri, 05 Apr 2024 23:33:08 +02:00
Committer: Borislav Petkov (AMD) <bp@alien8.de>
CommitterDate: Fri, 05 Apr 2024 23:33:08 +02:00

x86/microcode/AMD: Remove unused PATCH_MAX_SIZE macro

Orphaned after

05e91e721138 ("x86/microcode/AMD: Rip out static buffers")

No functional changes.

Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
---
arch/x86/kernel/cpu/microcode/amd.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/arch/x86/kernel/cpu/microcode/amd.c b/arch/x86/kernel/cpu/microcode/amd.c
index 620f0af..c0d56c0 100644
--- a/arch/x86/kernel/cpu/microcode/amd.c
+++ b/arch/x86/kernel/cpu/microcode/amd.c
@@ -84,8 +84,6 @@ struct microcode_amd {
unsigned int mpb[];
};

-#define PATCH_MAX_SIZE (3 * PAGE_SIZE)
-
static struct equiv_cpu_table {
unsigned int num_entries;
struct equiv_cpu_entry *entry;
\
 
 \ /
  Last update: 2024-05-27 16:26    [W:0.036 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site