summaryrefslogtreecommitdiff
path: root/include/linux/initrd.h
diff options
context:
space:
mode:
authorShunyong Yang <shunyong.yang@hxt-semitech.com>2018-12-18 14:02:45 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-01-14 11:42:18 +0100
commit98a455d91e7116ca417bc37da6aa2dd633206a6f (patch)
treea31baed8fda81f9b56652054a301e7dee2d5daf6 /include/linux/initrd.h
parent1c7fc5cbc33980acd13d668f1c8f0313d6ae9fd8 (diff)
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.h3
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;