Merge tag 'v5.11' into sched/core, to pick up fixes & refresh the branch
Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
@@ -76,7 +76,6 @@ config CC_HAS_ASM_INLINE
|
||||
|
||||
config CONSTRUCTORS
|
||||
bool
|
||||
depends on !UML
|
||||
|
||||
config IRQ_WORK
|
||||
bool
|
||||
|
||||
+2
-1
@@ -198,7 +198,8 @@ struct task_struct init_task
|
||||
.lockdep_recursion = 0,
|
||||
#endif
|
||||
#ifdef CONFIG_FUNCTION_GRAPH_TRACER
|
||||
.ret_stack = NULL,
|
||||
.ret_stack = NULL,
|
||||
.tracing_graph_pause = ATOMIC_INIT(0),
|
||||
#endif
|
||||
#if defined(CONFIG_TRACING) && defined(CONFIG_PREEMPTION)
|
||||
.trace_recursion = 0,
|
||||
|
||||
+10
-9
@@ -1066,7 +1066,13 @@ asmlinkage __visible void __init __no_sanitize_address start_kernel(void)
|
||||
/* Call all constructor functions linked into the kernel. */
|
||||
static void __init do_ctors(void)
|
||||
{
|
||||
#ifdef CONFIG_CONSTRUCTORS
|
||||
/*
|
||||
* For UML, the constructors have already been called by the
|
||||
* normal setup code as it's just a normal ELF binary, so we
|
||||
* cannot do it again - but we do need CONFIG_CONSTRUCTORS
|
||||
* even on UML for modules.
|
||||
*/
|
||||
#if defined(CONFIG_CONSTRUCTORS) && !defined(CONFIG_UML)
|
||||
ctor_fn_t *fn = (ctor_fn_t *) __ctors_start;
|
||||
|
||||
for (; fn < (ctor_fn_t *) __ctors_end; fn++)
|
||||
@@ -1480,14 +1486,8 @@ void __init console_on_rootfs(void)
|
||||
struct file *file = filp_open("/dev/console", O_RDWR, 0);
|
||||
|
||||
if (IS_ERR(file)) {
|
||||
pr_err("Warning: unable to open an initial console. Fallback to ttynull.\n");
|
||||
register_ttynull_console();
|
||||
|
||||
file = filp_open("/dev/console", O_RDWR, 0);
|
||||
if (IS_ERR(file)) {
|
||||
pr_err("Warning: Failed to add ttynull console. No stdin, stdout, and stderr for the init process!\n");
|
||||
return;
|
||||
}
|
||||
pr_err("Warning: unable to open an initial console.\n");
|
||||
return;
|
||||
}
|
||||
init_dup(file);
|
||||
init_dup(file);
|
||||
@@ -1518,6 +1518,7 @@ static noinline void __init kernel_init_freeable(void)
|
||||
|
||||
init_mm_internals();
|
||||
|
||||
rcu_init_tasks_generic();
|
||||
do_pre_smp_initcalls();
|
||||
lockup_detector_init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user