summaryrefslogtreecommitdiff
path: root/arch/arm/kernel/compat.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-01-19 10:13:14 +0100
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-07-07 16:38:36 +0200
commit73a65b3f8587fa1c83768515ecc0bf6fa44ccdd1 (patch)
tree89a93172ce10f0e965c02b4a14aa55475ef88673 /arch/arm/kernel/compat.c
parent8d68fe7029ed2631363f6f37155586c0707b8dc0 (diff)
downloadlwn-73a65b3f8587fa1c83768515ecc0bf6fa44ccdd1.tar.gz
lwn-73a65b3f8587fa1c83768515ecc0bf6fa44ccdd1.zip
ARM: deprecate support for old way to pass kernel parameters
This was deprecated in 2001 and announced to live on for 5 years. For now provide a kernel parameter for those who still need it. Acked-by: Eric Miao <eric.miao@canonical.com> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/kernel/compat.c')
-rw-r--r--arch/arm/kernel/compat.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/kernel/compat.c b/arch/arm/kernel/compat.c
index 0a1385442f43..925652318b8b 100644
--- a/arch/arm/kernel/compat.c
+++ b/arch/arm/kernel/compat.c
@@ -217,10 +217,3 @@ void __init convert_to_tag_list(struct tag *tags)
struct param_struct *params = (struct param_struct *)tags;
build_tag_list(params, &params->u2);
}
-
-void __init squash_mem_tags(struct tag *tag)
-{
- for (; tag->hdr.size; tag = tag_next(tag))
- if (tag->hdr.tag == ATAG_MEM)
- tag->hdr.tag = ATAG_NONE;
-}