mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 23:52:08 +02:00
x86/boot/e820: Clean up __refdata use a bit
So __refdata, like __init, is more of a storage class specifier, so move the attribute in front of the type, not after the variable name. This also aligns it vertically. Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: Andy Shevchenko <andy@kernel.org> Cc: Arnd Bergmann <arnd@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Cc: Juergen Gross <jgross@suse.com> Cc: "H . Peter Anvin" <hpa@zytor.com> Cc: Kees Cook <keescook@chromium.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mike Rapoport <rppt@kernel.org> Cc: Paul Menzel <pmenzel@molgen.mpg.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: David Woodhouse <dwmw@amazon.co.uk> Link: https://patch.msgid.link/20250515120549.2820541-16-mingo@kernel.org
This commit is contained in:
parent
a4803df3a2
commit
2774ae1046
|
|
@ -61,9 +61,9 @@ static struct e820_table e820_table_init __initdata;
|
|||
static struct e820_table e820_table_kexec_init __initdata;
|
||||
static struct e820_table e820_table_firmware_init __initdata;
|
||||
|
||||
struct e820_table *e820_table __refdata = &e820_table_init;
|
||||
struct e820_table *e820_table_kexec __refdata = &e820_table_kexec_init;
|
||||
struct e820_table *e820_table_firmware __refdata = &e820_table_firmware_init;
|
||||
__refdata struct e820_table *e820_table = &e820_table_init;
|
||||
__refdata struct e820_table *e820_table_kexec = &e820_table_kexec_init;
|
||||
__refdata struct e820_table *e820_table_firmware = &e820_table_firmware_init;
|
||||
|
||||
/* For PCI or other memory-mapped resources */
|
||||
unsigned long pci_mem_start = 0xaeedbabe;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user