printf: Remove unused 'bprintf'
[drm/drm-misc.git] / include / linux / initrd.h
blobf1a1f4c92ded3921bf56d53bee3e20b549d851fb
1 /* SPDX-License-Identifier: GPL-2.0 */
3 #ifndef __LINUX_INITRD_H
4 #define __LINUX_INITRD_H
6 #define INITRD_MINOR 250 /* shouldn't collide with /dev/ram* too soon ... */
8 /* starting block # of image */
9 extern int rd_image_start;
11 /* size of a single RAM disk */
12 extern unsigned long rd_size;
14 /* 1 if it is not an error if initrd_start < memory_start */
15 extern int initrd_below_start_ok;
17 /* free_initrd_mem always gets called with the next two as arguments.. */
18 extern unsigned long initrd_start, initrd_end;
19 extern void free_initrd_mem(unsigned long, unsigned long);
21 #ifdef CONFIG_BLK_DEV_INITRD
22 extern void __init reserve_initrd_mem(void);
23 extern void wait_for_initramfs(void);
24 #else
25 static inline void __init reserve_initrd_mem(void) {}
26 static inline void wait_for_initramfs(void) {}
27 #endif
29 extern phys_addr_t phys_initrd_start;
30 extern unsigned long phys_initrd_size;
32 extern char __initramfs_start[];
33 extern unsigned long __initramfs_size;
35 void console_on_rootfs(void);
37 #endif /* __LINUX_INITRD_H */