summaryrefslogtreecommitdiff
path: root/arch/arm/kernel
diff options
context:
space:
mode:
authorIvaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>2016-01-01 14:46:27 +0300
committerRussell King <rmk+kernel@arm.linux.org.uk>2016-01-04 14:26:00 +0300
commit6e0306a97d18bb9bec71b1f3db0dbc6b14c5f51b (patch)
tree2e481bac7c183c602f397fcea1ca3ecd6cd848c0 /arch/arm/kernel
parent5008efc83bf85b647aa1cbc44718b1675bbb7444 (diff)
downloadlinux-6e0306a97d18bb9bec71b1f3db0dbc6b14c5f51b.tar.xz
ARM: 8495/1: ATAGS: move save_atags() to arch/arm/include/asm/setup.h
So it can be used by code outside arch/arm/kernel/. Fix save_atags() declaration to match its definition while at it. Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r--arch/arm/kernel/atags.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/kernel/atags.h b/arch/arm/kernel/atags.h
index ec4164da6e30..edfa2268c127 100644
--- a/arch/arm/kernel/atags.h
+++ b/arch/arm/kernel/atags.h
@@ -1,9 +1,3 @@
-#ifdef CONFIG_ATAGS_PROC
-extern void save_atags(struct tag *tags);
-#else
-static inline void save_atags(struct tag *tags) { }
-#endif
-
void convert_to_tag_list(struct tag *tags);
#ifdef CONFIG_ATAGS