[2.6 patch] kconfig: remove "enable"

Previous thread: [PATCH -v8 2/4] Update ctime and mtime for memory-mapped files by Anton Salikhmetov on Tuesday, January 22, 2008 - 7:21 pm. (37 messages)

Next thread: [PATCH 1/3] x86: Unify fault_32|64.c by ifdef'd function bodies by Harvey Harrison on Tuesday, January 22, 2008 - 8:06 pm. (2 messages)
To: <zippel@...>, Sam Ravnborg <sam@...>
Cc: <linux-kbuild@...>, <linux-kernel@...>
Date: Tuesday, January 22, 2008 - 7:54 pm

Kconfig had a synonym "enable" for "select" that was neither documented
nor used.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

scripts/kconfig/zconf.gperf | 1 -
scripts/kconfig/zconf.hash.c_shipped | 14 +++++++-------
2 files changed, 7 insertions(+), 8 deletions(-)

6b3161305f33144e2ae5227bbf32221e2310371d
diff --git a/scripts/kconfig/zconf.gperf b/scripts/kconfig/zconf.gperf
index 93538e5..2196816 100644
--- a/scripts/kconfig/zconf.gperf
+++ b/scripts/kconfig/zconf.gperf
@@ -35,7 +35,6 @@ int, T_TYPE, TF_COMMAND, S_INT
hex, T_TYPE, TF_COMMAND, S_HEX
string, T_TYPE, TF_COMMAND, S_STRING
select, T_SELECT, TF_COMMAND
-enable, T_SELECT, TF_COMMAND
range, T_RANGE, TF_COMMAND
option, T_OPTION, TF_COMMAND
on, T_ON, TF_PARAM
diff --git a/scripts/kconfig/zconf.hash.c_shipped b/scripts/kconfig/zconf.hash.c_shipped
index ab28b18..fb66a5d 100644
--- a/scripts/kconfig/zconf.hash.c_shipped
+++ b/scripts/kconfig/zconf.hash.c_shipped
@@ -1,4 +1,4 @@
-/* ANSI-C code produced by gperf version 3.0.2 */
+/* ANSI-C code produced by gperf version 3.0.3 */
/* Command-line: gperf */
/* Computed positions: -k'1,3' */

@@ -53,7 +53,7 @@ kconf_id_hash (register const char *str, register unsigned int len)
49, 49, 49, 49, 49, 49, 49, 49, 49, 49,
49, 49, 49, 49, 49, 49, 49, 49, 49, 49,
49, 49, 49, 49, 49, 49, 49, 49, 49, 49,
- 49, 49, 49, 49, 49, 49, 49, 18, 11, 5,
+ 49, 49, 49, 49, 49, 49, 49, 49, 11, 5,
0, 0, 5, 49, 5, 20, 49, 49, 5, 20,
5, 0, 30, 49, 0, 15, 0, 10, 49, 49,
25, 49, 49, 49, 49, 49, 49, 49, 49, 49,
@@ -107,7 +107,6 @@ struct kconf_id_strings_t
char kconf_id_strings_str21[sizeof("string")];
char kconf_id_strings_str22[sizeof("if")];
char kconf_id_strings_str23[sizeof("int")];
- char kconf_id_strings_str24[sizeof("enable")];
char kconf_id_strings_str26[sizeof("select")];
char kconf_id_strings_str27[sizeof("modules")];
char kconf_i...

To: Adrian Bunk <bunk@...>
Cc: <zippel@...>, <linux-kbuild@...>, <linux-kernel@...>
Date: Thursday, January 24, 2008 - 4:53 pm

Fixed up to apply to latest kbuild.git and applied.

Sam
--

Previous thread: [PATCH -v8 2/4] Update ctime and mtime for memory-mapped files by Anton Salikhmetov on Tuesday, January 22, 2008 - 7:21 pm. (37 messages)

Next thread: [PATCH 1/3] x86: Unify fault_32|64.c by ifdef'd function bodies by Harvey Harrison on Tuesday, January 22, 2008 - 8:06 pm. (2 messages)