diff options
author | 2018-12-18 14:02:45 +0800 | |
---|---|---|
committer | 2019-01-14 11:42:18 +0100 | |
commit | 98a455d91e7116ca417bc37da6aa2dd633206a6f (patch) | |
tree | a31baed8fda81f9b56652054a301e7dee2d5daf6 /include/linux/initrd.h | |
parent | Linux 5.0-rc2 (diff) | |
download | linux-98a455d91e7116ca417bc37da6aa2dd633206a6f.tar.gz linux-98a455d91e7116ca417bc37da6aa2dd633206a6f.tar.bz2 linux-98a455d91e7116ca417bc37da6aa2dd633206a6f.zip |
ACPI / tables: table override from built-in initrd
In some scenario, we need to build initrd with kernel in a single image.
This can simplify system deployment process by downloading the whole system
once, such as in IC verification.
This patch adds support to override ACPI tables from built-in initrd.
Signed-off-by: Shunyong Yang <shunyong.yang@hxt-semitech.com>
[ rjw: Minor cleanups ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/initrd.h')
-rw-r--r-- | include/linux/initrd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/initrd.h b/include/linux/initrd.h index 14beaff9b445..d77fe34fb00a 100644 --- a/include/linux/initrd.h +++ b/include/linux/initrd.h @@ -25,3 +25,6 @@ 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; |