From 7acb84dde7e0a88ffc6e53efa2b9bcb1967b445d Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Fri, 28 Jun 2013 11:27:20 +0000
Subject: [PATCH] kernel: add global menuconfig option to enable kexec support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37073
---
 Config.in                        | 3 +++
 target/linux/generic/config-3.10 | 1 +
 target/linux/generic/config-3.3  | 1 +
 target/linux/generic/config-3.6  | 1 +
 target/linux/generic/config-3.7  | 1 +
 target/linux/generic/config-3.8  | 1 +
 target/linux/generic/config-3.9  | 1 +
 7 files changed, 9 insertions(+)

diff --git a/Config.in b/Config.in
index 98e3e046f9..ef6f1c6122 100644
--- a/Config.in
+++ b/Config.in
@@ -303,6 +303,9 @@ menu "Global build settings"
 	config KERNEL_RELAY
 		bool
 
+	config KERNEL_KEXEC
+		bool "Enable kexec support"
+
 	#
 	# CGROUP support symbols
 	#
diff --git a/target/linux/generic/config-3.10 b/target/linux/generic/config-3.10
index ae6b55dbca..1e40bdbf81 100644
--- a/target/linux/generic/config-3.10
+++ b/target/linux/generic/config-3.10
@@ -130,6 +130,7 @@ CONFIG_ARPD=y
 # CONFIG_AT76C50X_USB is not set
 # CONFIG_AT803X_PHY is not set
 # CONFIG_ATA is not set
+CONFIG_ATAGS_PROC=y
 # CONFIG_ATALK is not set
 # CONFIG_ATARI_PARTITION is not set
 # CONFIG_ATA_ACPI is not set
diff --git a/target/linux/generic/config-3.3 b/target/linux/generic/config-3.3
index b4d17ef002..5e6d241f53 100644
--- a/target/linux/generic/config-3.3
+++ b/target/linux/generic/config-3.3
@@ -117,6 +117,7 @@ CONFIG_ARPD=y
 # CONFIG_ASYNC_TX_DMA is not set
 # CONFIG_AT76C50X_USB is not set
 # CONFIG_ATA is not set
+CONFIG_ATAGS_PROC=y
 # CONFIG_ATALK is not set
 # CONFIG_ATARI_PARTITION is not set
 # CONFIG_ATA_ACPI is not set
diff --git a/target/linux/generic/config-3.6 b/target/linux/generic/config-3.6
index 712dded6f2..b8340da8c7 100644
--- a/target/linux/generic/config-3.6
+++ b/target/linux/generic/config-3.6
@@ -120,6 +120,7 @@ CONFIG_ARPD=y
 # CONFIG_ASYNC_TX_DMA is not set
 # CONFIG_AT76C50X_USB is not set
 # CONFIG_ATA is not set
+CONFIG_ATAGS_PROC=y
 # CONFIG_ATALK is not set
 # CONFIG_ATARI_PARTITION is not set
 # CONFIG_ATA_ACPI is not set
diff --git a/target/linux/generic/config-3.7 b/target/linux/generic/config-3.7
index d773394fbd..c719e3991b 100644
--- a/target/linux/generic/config-3.7
+++ b/target/linux/generic/config-3.7
@@ -124,6 +124,7 @@ CONFIG_ARPD=y
 # CONFIG_AT76C50X_USB is not set
 # CONFIG_AT803X_PHY is not set
 # CONFIG_ATA is not set
+CONFIG_ATAGS_PROC=y
 # CONFIG_ATALK is not set
 # CONFIG_ATARI_PARTITION is not set
 # CONFIG_ATA_ACPI is not set
diff --git a/target/linux/generic/config-3.8 b/target/linux/generic/config-3.8
index 7a0b4152ba..b479e4e0d1 100644
--- a/target/linux/generic/config-3.8
+++ b/target/linux/generic/config-3.8
@@ -128,6 +128,7 @@ CONFIG_ARPD=y
 # CONFIG_AT76C50X_USB is not set
 # CONFIG_AT803X_PHY is not set
 # CONFIG_ATA is not set
+CONFIG_ATAGS_PROC=y
 # CONFIG_ATALK is not set
 # CONFIG_ATARI_PARTITION is not set
 # CONFIG_ATA_ACPI is not set
diff --git a/target/linux/generic/config-3.9 b/target/linux/generic/config-3.9
index a6a801ab00..d88286f59f 100644
--- a/target/linux/generic/config-3.9
+++ b/target/linux/generic/config-3.9
@@ -130,6 +130,7 @@ CONFIG_ARPD=y
 # CONFIG_AT76C50X_USB is not set
 # CONFIG_AT803X_PHY is not set
 # CONFIG_ATA is not set
+CONFIG_ATAGS_PROC=y
 # CONFIG_ATALK is not set
 # CONFIG_ATARI_PARTITION is not set
 # CONFIG_ATA_ACPI is not set
-- 
GitLab