linux/arch
Arnd Bergmann 0059bc9a29 console: fix up ARM screen_info reference
Separating the VGA console screen_info from the EFI one unfortunately
caused a build failure for footbridge that I had never caught
with randconfig builds:

arch/arm/kernel/setup.c:932:27: error: static declaration of 'vgacon_screen_info' follows non-static declaration
  932 | static struct screen_info vgacon_screen_info = {
      |                           ^~~~~~~~~~~~~~~~~~
In file included from arch/arm/kernel/setup.c:44:
arch/arm/include/asm/setup.h:40:27: note: previous declaration of 'vgacon_screen_info' with type 'struct screen_info'
   40 | extern struct screen_info vgacon_screen_info;
      |                           ^~~~~~~~~~~~~~~~~~
arm-linux-gnueabi-ld: drivers/video/console/dummycon.o: in function `dummycon_init':
dummycon.c:(.text+0xe4): undefined reference to `screen_info'

Make sure the variable is global to avoid the conflict with the extern
declaration, and make it work in dummycon.c

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20231017093947.3627976-2-arnd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-17 16:34:02 +02:00
..
alpha vgacon: clean up global screen_info instances 2023-10-17 10:17:02 +02:00
arc ARC updates for v6.6 2023-09-04 15:38:24 -07:00
arm console: fix up ARM screen_info reference 2023-10-17 16:34:02 +02:00
arm64 efi: move screen_info into efi init code 2023-10-17 16:33:39 +02:00
csky vgacon, arch/*: remove unused screen_info definitions 2023-10-17 10:17:02 +02:00
hexagon vgacon, arch/*: remove unused screen_info definitions 2023-10-17 10:17:02 +02:00
ia64 vgacon: clean up global screen_info instances 2023-10-17 10:17:02 +02:00
loongarch efi: move screen_info into efi init code 2023-10-17 16:33:39 +02:00
m68k ata changes for 6.6 2023-09-05 12:37:28 -07:00
microblaze Microblaze patches for 6.6-rc1 2023-09-05 10:15:22 -07:00
mips vgacon: clean up global screen_info instances 2023-10-17 10:17:02 +02:00
nios2 vgacon, arch/*: remove unused screen_info definitions 2023-10-17 10:17:02 +02:00
openrisc OpenRISC updates for 6.6 2023-09-05 10:09:31 -07:00
parisc parisc architecture fixes for kernel v6.6-rc5: 2023-10-07 13:05:43 -07:00
powerpc vga16fb: drop powerpc support 2023-10-17 10:17:02 +02:00
riscv efi: move screen_info into efi init code 2023-10-17 16:33:39 +02:00
s390 s390/bpf: Fix unwinding past the trampoline 2023-10-11 00:08:46 +02:00
sh vgacon, arch/*: remove unused screen_info definitions 2023-10-17 10:17:02 +02:00
sparc vgacon, arch/*: remove unused screen_info definitions 2023-10-17 10:17:02 +02:00
um This pull request contains the following changes for UML: 2023-09-04 11:32:21 -07:00
x86 vgacon: remove screen_info dependency 2023-10-17 10:17:02 +02:00
xtensa vgacon, arch/*: remove unused screen_info definitions 2023-10-17 10:17:02 +02:00
.gitignore
Kconfig Add x86 shadow stack support 2023-08-31 12:20:12 -07:00