diff options
author | Uli Luckas <u.luckas@road.de> | 2008-02-22 10:45:18 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-02-29 17:46:17 -0500 |
commit | b98d7291883f7ed27e3f4b59bc12dc963c9f72a6 (patch) | |
tree | 401a6f400927b107a637e6385faa6337dcc01ea1 /arch | |
parent | 4fa2b1cde0e3797549f711ce9e51c395b3d6d2a7 (diff) |
[ARM] 4836/1: Make ATAGS_PROC depend on KEXEC
On Wed, Feb 20, 2008 at 11:50:33AM +0100, Guennadi Liakhovetski wrote:
> arch/arm/kernel/atags.c uses for some reason the
> KEXEC_BOOT_PARAMS_SIZE macro, which is only defined if CONFIG_KEXEC
> is set. So, either this macro should be defined always, or another
> macro should be used, or ATAGS_PROC should depend on KEXEC.
As the procfs export of ATAGS is not meant as a stable, general purpose
ABI it shouldn't be an independent, general configuration option.
This patch make ATAGS_PROC depend on KEXEC
Signed-off-by: Uli Luckas <u.luckas@road.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 9619c43783ff..16b82e1272b0 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -939,7 +939,8 @@ config KEXEC | |||
939 | 939 | ||
940 | config ATAGS_PROC | 940 | config ATAGS_PROC |
941 | bool "Export atags in procfs" | 941 | bool "Export atags in procfs" |
942 | default n | 942 | depends on KEXEC |
943 | default y | ||
943 | help | 944 | help |
944 | Should the atags used to boot the kernel be exported in an "atags" | 945 | Should the atags used to boot the kernel be exported in an "atags" |
945 | file in procfs. Useful with kexec. | 946 | file in procfs. Useful with kexec. |