mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 09:59:32 +00:00
![Christoph Hellwig](/assets/img/avatar_default.png)
Remove the special handling for multiple floppies in the initrd code. No one should be using floppies for booting these days. (famous last words..) Includes a spelling fix from Colin Ian King <colin.king@canonical.com>. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
26 lines
735 B
C
26 lines
735 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#define INITRD_MINOR 250 /* shouldn't collide with /dev/ram* too soon ... */
|
|
|
|
/* starting block # of image */
|
|
extern int rd_image_start;
|
|
|
|
/* size of a single RAM disk */
|
|
extern unsigned long rd_size;
|
|
|
|
/* 1 if it is not an error if initrd_start < memory_start */
|
|
extern int initrd_below_start_ok;
|
|
|
|
/* free_initrd_mem always gets called with the next two as arguments.. */
|
|
extern unsigned long initrd_start, initrd_end;
|
|
extern void free_initrd_mem(unsigned long, unsigned long);
|
|
|
|
extern phys_addr_t phys_initrd_start;
|
|
extern unsigned long phys_initrd_size;
|
|
|
|
extern unsigned int real_root_dev;
|
|
|
|
extern char __initramfs_start[];
|
|
extern unsigned long __initramfs_size;
|
|
|
|
void console_on_rootfs(void);
|