summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorCao jin <jojing64@gmail.com>2021-03-11 11:39:19 +0300
committerBorislav Petkov <bp@suse.de>2021-03-11 13:47:37 +0300
commit81519f778830d1ab02274eeaaeab6797fdc4ec52 (patch)
tree962b4720730055988f444f6407e5a6faefd5bfc8 /arch/x86/include/asm
parentb18adee4ce4443399963826b5d28d9e63d40740c (diff)
downloadlinux-81519f778830d1ab02274eeaaeab6797fdc4ec52.tar.xz
x86/setup: Remove unused RESERVE_BRK_ARRAY()
Since a13f2ef168cb ("x86/xen: remove 32-bit Xen PV guest support"), RESERVE_BRK_ARRAY() has no user anymore so drop it. Update related comments too. Signed-off-by: Cao jin <jojing64@gmail.com> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20210311083919.27530-1-jojing64@gmail.com
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r--arch/x86/include/asm/setup.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/include/asm/setup.h b/arch/x86/include/asm/setup.h
index 389d851a02c4..a12458a7a8d4 100644
--- a/arch/x86/include/asm/setup.h
+++ b/arch/x86/include/asm/setup.h
@@ -130,11 +130,6 @@ void *extend_brk(size_t size, size_t align);
: : "i" (sz)); \
}
-/* Helper for reserving space for arrays of things */
-#define RESERVE_BRK_ARRAY(type, name, entries) \
- type *name; \
- RESERVE_BRK(name, sizeof(type) * entries)
-
extern void probe_roms(void);
#ifdef __i386__