Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
25 lines
685 B
C
25 lines
685 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#define INITRD_MINOR 250 /* shouldn't collide with /dev/ram* too soon ... */
|
|
|
|
/* 1 = load ramdisk, 0 = don't load */
|
|
extern int rd_doload;
|
|
|
|
/* 1 = prompt for ramdisk, 0 = don't prompt */
|
|
extern int rd_prompt;
|
|
|
|
/* 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 unsigned int real_root_dev;
|