mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 04:33:26 +02:00
Merge tag 'mm-nonmm-stable-2023-06-24-19-23' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Pull non-mm updates from Andrew Morton: - Arnd Bergmann has fixed a bunch of -Wmissing-prototypes in top-level directories - Douglas Anderson has added a new "buddy" mode to the hardlockup detector. It permits the detector to work on architectures which cannot provide the required interrupts, by having CPUs periodically perform checks on other CPUs - Zhen Lei has enhanced kexec's ability to support two crash regions - Petr Mladek has done a lot of cleanup on the hard lockup detector's Kconfig entries - And the usual bunch of singleton patches in various places * tag 'mm-nonmm-stable-2023-06-24-19-23' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (72 commits) kernel/time/posix-stubs.c: remove duplicated include ocfs2: remove redundant assignment to variable bit_off watchdog/hardlockup: fix typo in config HARDLOCKUP_DETECTOR_PREFER_BUDDY powerpc: move arch_trigger_cpumask_backtrace from nmi.h to irq.h devres: show which resource was invalid in __devm_ioremap_resource() watchdog/hardlockup: define HARDLOCKUP_DETECTOR_ARCH watchdog/sparc64: define HARDLOCKUP_DETECTOR_SPARC64 watchdog/hardlockup: make HAVE_NMI_WATCHDOG sparc64-specific watchdog/hardlockup: declare arch_touch_nmi_watchdog() only in linux/nmi.h watchdog/hardlockup: make the config checks more straightforward watchdog/hardlockup: sort hardlockup detector related config values a logical way watchdog/hardlockup: move SMP barriers from common code to buddy code watchdog/buddy: simplify the dependency for HARDLOCKUP_DETECTOR_PREFER_BUDDY watchdog/buddy: don't copy the cpumask in watchdog_next_cpu() watchdog/buddy: cleanup how watchdog_buddy_check_hardlockup() is called watchdog/hardlockup: remove softlockup comment in touch_nmi_watchdog() watchdog/hardlockup: in watchdog_hardlockup_check() use cpumask_copy() watchdog/hardlockup: don't use raw_cpu_ptr() in watchdog_hardlockup_kick() watchdog/hardlockup: HAVE_NMI_WATCHDOG must implement watchdog_hardlockup_probe() watchdog/hardlockup: keep kernel.nmi_watchdog sysctl as 0444 if probe fails ...
This commit is contained in:
@@ -192,8 +192,19 @@ retry:
|
||||
printk("VFS: Cannot open root device \"%s\" or %s: error %d\n",
|
||||
pretty_name, b, err);
|
||||
printk("Please append a correct \"root=\" boot option; here are the available partitions:\n");
|
||||
|
||||
printk_all_partitions();
|
||||
|
||||
if (root_fs_names)
|
||||
num_fs = list_bdev_fs_names(fs_names, PAGE_SIZE);
|
||||
if (!num_fs)
|
||||
pr_err("Can't find any bdev filesystem to be used for mount!\n");
|
||||
else {
|
||||
pr_err("List of all bdev filesystems:\n");
|
||||
for (i = 0, p = fs_names; i < num_fs; i++, p += strlen(p)+1)
|
||||
pr_err(" %s", p);
|
||||
pr_err("\n");
|
||||
}
|
||||
|
||||
panic("VFS: Unable to mount root fs on %s", b);
|
||||
}
|
||||
if (!(flags & SB_RDONLY)) {
|
||||
@@ -256,8 +267,6 @@ static inline void mount_nfs_root(void)
|
||||
|
||||
#ifdef CONFIG_CIFS_ROOT
|
||||
|
||||
extern int cifs_root_data(char **dev, char **opts);
|
||||
|
||||
#define CIFSROOT_TIMEOUT_MIN 5
|
||||
#define CIFSROOT_TIMEOUT_MAX 30
|
||||
#define CIFSROOT_RETRY_MAX 5
|
||||
|
18
init/main.c
18
init/main.c
@@ -113,10 +113,6 @@
|
||||
|
||||
static int kernel_init(void *);
|
||||
|
||||
extern void init_IRQ(void);
|
||||
extern void radix_tree_init(void);
|
||||
extern void maple_tree_init(void);
|
||||
|
||||
/*
|
||||
* Debug helper: via this flag we know that we are in 'early bootup code'
|
||||
* where only the boot processor is running with IRQ disabled. This means
|
||||
@@ -135,7 +131,6 @@ EXPORT_SYMBOL(system_state);
|
||||
#define MAX_INIT_ARGS CONFIG_INIT_ENV_ARG_LIMIT
|
||||
#define MAX_INIT_ENVS CONFIG_INIT_ENV_ARG_LIMIT
|
||||
|
||||
extern void time_init(void);
|
||||
/* Default late time init is NULL. archs can override this later. */
|
||||
void (*__initdata late_time_init)(void);
|
||||
|
||||
@@ -194,8 +189,6 @@ static const char *argv_init[MAX_INIT_ARGS+2] = { "init", NULL, };
|
||||
const char *envp_init[MAX_INIT_ENVS+2] = { "HOME=/", "TERM=linux", NULL, };
|
||||
static const char *panic_later, *panic_param;
|
||||
|
||||
extern const struct obs_kernel_param __setup_start[], __setup_end[];
|
||||
|
||||
static bool __init obsolete_checksetup(char *line)
|
||||
{
|
||||
const struct obs_kernel_param *p;
|
||||
@@ -1256,17 +1249,6 @@ int __init_or_module do_one_initcall(initcall_t fn)
|
||||
}
|
||||
|
||||
|
||||
extern initcall_entry_t __initcall_start[];
|
||||
extern initcall_entry_t __initcall0_start[];
|
||||
extern initcall_entry_t __initcall1_start[];
|
||||
extern initcall_entry_t __initcall2_start[];
|
||||
extern initcall_entry_t __initcall3_start[];
|
||||
extern initcall_entry_t __initcall4_start[];
|
||||
extern initcall_entry_t __initcall5_start[];
|
||||
extern initcall_entry_t __initcall6_start[];
|
||||
extern initcall_entry_t __initcall7_start[];
|
||||
extern initcall_entry_t __initcall_end[];
|
||||
|
||||
static initcall_entry_t *initcall_levels[] __initdata = {
|
||||
__initcall0_start,
|
||||
__initcall1_start,
|
||||
|
Reference in New Issue
Block a user