patch-2.3.99-pre9 linux/scripts/mkdep.c
Next file: linux/scripts/tail.tk
Previous file: linux/scripts/header.tk
Back to the patch index
Back to the overall index
- Lines: 35
- Date:
Mon May 15 15:31:17 2000
- Orig file:
v2.3.99-pre8/linux/scripts/mkdep.c
- Orig date:
Mon Mar 27 08:08:34 2000
diff -u --recursive --new-file v2.3.99-pre8/linux/scripts/mkdep.c linux/scripts/mkdep.c
@@ -300,7 +300,6 @@
* m|#\s*include\s*<(.*?>"|
* m|#\s*(?define|undef)\s*CONFIG_(\w*)|
* m|(?!\w)CONFIG_|
- * m|__SMP__|
*
* About 98% of the CPU time is spent here, and most of that is in
* the 'start' paragraph. Because the current characters are
@@ -325,7 +324,6 @@
CASE('"', dquote);
CASE('#', pound);
CASE('C', cee);
- CASE('_', underscore);
goto start;
/* / */
@@ -464,18 +462,6 @@
goto cee_CONFIG_word;
use_config(map_dot, next - map_dot - 1);
goto __start;
-
-/* __SMP__ */
-underscore:
- GETNEXT NOTCASE('_', __start);
- GETNEXT NOTCASE('S', __start);
- GETNEXT NOTCASE('M', __start);
- GETNEXT NOTCASE('P', __start);
- GETNEXT NOTCASE('_', __start);
- GETNEXT NOTCASE('_', __start);
- use_config("SMP", 3);
- goto __start;
-
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)