Skip to content

Commit 6de4cd5

Browse files
author
Octavian Purdila
committed
Merge pull request torvalds#112 from lkl/revert-109-fix-screeninfo
Revert "lkl: Fix missing screen_info during compilation."
2 parents e1505c9 + bdeb7c2 commit 6de4cd5

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

arch/lkl/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
config LKL
22
def_bool y
3-
depends on !SMP && !MMU && !COREDUMP && !AUDITSYSCALL && !SECCOMP && !TRACEPOINTS && !UPROBES && !COMPAT && !USER_RETURN_NOTIFIER && !VGA_CONSOLE
3+
depends on !SMP && !MMU && !COREDUMP && !AUDITSYSCALL && !SECCOMP && !TRACEPOINTS && !UPROBES && !COMPAT && !USER_RETURN_NOTIFIER
44
select ARCH_THREAD_INFO_ALLOCATOR
55
select RWSEM_GENERIC_SPINLOCK
66
select GENERIC_ATOMIC64

arch/lkl/kernel/setup.c

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#include <linux/init.h>
22
#include <linux/init_task.h>
3-
#include <linux/screen_info.h>
43
#include <linux/reboot.h>
54
#include <linux/fs.h>
65
#include <linux/start_kernel.h>
@@ -19,20 +18,6 @@ static bool halt;
1918
void (*pm_power_off)(void) = NULL;
2019
static unsigned long mem_size;
2120

22-
/*
23-
* Prepare a screen_info structure when console is enabled.
24-
*/
25-
#if defined(CONFIG_DUMMY_CONSOLE)
26-
struct screen_info screen_info = {
27-
.orig_video_lines = CONFIG_DUMMY_CONSOLE_ROWS,
28-
.orig_video_cols = CONFIG_DUMMY_CONSOLE_COLUMNS,
29-
.orig_video_mode = 0,
30-
.orig_video_ega_bx = 0,
31-
.orig_video_isVGA = 1,
32-
.orig_video_points = 8
33-
};
34-
#endif
35-
3621
long lkl_panic_blink(int state)
3722
{
3823
lkl_ops->panic();

0 commit comments

Comments
 (0)