diff options
| author | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-11-22 13:06:44 -0500 |
|---|---|---|
| committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-11-22 13:06:44 -0500 |
| commit | 0bd2af46839ad6262d25714a6ec0365db9d6b98f (patch) | |
| tree | dcced72d230d69fd0c5816ac6dd03ab84799a93e /scripts | |
| parent | e138a5d2356729b8752e88520cc1525fae9794ac (diff) | |
| parent | f26b90440cd74c78fe10c9bd5160809704a9627c (diff) | |
Merge ../scsi-rc-fixes-2.6
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/Makefile.headersinst | 2 | ||||
| -rw-r--r-- | scripts/Makefile.modpost | 2 | ||||
| -rw-r--r-- | scripts/basic/docproc.c | 2 | ||||
| -rw-r--r-- | scripts/kconfig/.gitignore | 2 | ||||
| -rw-r--r-- | scripts/kconfig/lxdialog/dialog.h | 1 | ||||
| -rwxr-xr-x | scripts/kernel-doc | 15 | ||||
| -rw-r--r-- | scripts/mod/modpost.c | 2 |
7 files changed, 18 insertions, 8 deletions
diff --git a/scripts/Makefile.headersinst b/scripts/Makefile.headersinst index 6a026f69b563..4241e0dfeeaf 100644 --- a/scripts/Makefile.headersinst +++ b/scripts/Makefile.headersinst | |||
| @@ -168,7 +168,7 @@ $(objhdr-y) $(header-y) $(unifdef-y): $(KBUILDFILES) | |||
| 168 | $(call cmd,gen) | 168 | $(call cmd,gen) |
| 169 | 169 | ||
| 170 | else | 170 | else |
| 171 | $(objhdr-y) : $(INSTALL_HDR_PATH)/$(_dst)/%.h: $(srctree)/$(obj)/%.h $(KBUILDFILES) | 171 | $(objhdr-y) : $(INSTALL_HDR_PATH)/$(_dst)/%.h: $(objtree)/$(obj)/%.h $(KBUILDFILES) |
| 172 | $(call cmd,o_hdr_install) | 172 | $(call cmd,o_hdr_install) |
| 173 | 173 | ||
| 174 | $(header-y) : $(INSTALL_HDR_PATH)/$(_dst)/%.h: $(srctree)/$(obj)/%.h $(KBUILDFILES) | 174 | $(header-y) : $(INSTALL_HDR_PATH)/$(_dst)/%.h: $(srctree)/$(obj)/%.h $(KBUILDFILES) |
diff --git a/scripts/Makefile.modpost b/scripts/Makefile.modpost index 6c5469b1473b..65e0a79c36cf 100644 --- a/scripts/Makefile.modpost +++ b/scripts/Makefile.modpost | |||
| @@ -44,7 +44,7 @@ include scripts/Kbuild.include | |||
| 44 | include scripts/Makefile.lib | 44 | include scripts/Makefile.lib |
| 45 | 45 | ||
| 46 | kernelsymfile := $(objtree)/Module.symvers | 46 | kernelsymfile := $(objtree)/Module.symvers |
| 47 | modulesymfile := $(KBUILD_EXTMOD)/Module.symvers | 47 | modulesymfile := $(firstword $(KBUILD_EXTMOD))/Module.symvers |
| 48 | 48 | ||
| 49 | # Step 1), find all modules listed in $(MODVERDIR)/ | 49 | # Step 1), find all modules listed in $(MODVERDIR)/ |
| 50 | __modules := $(sort $(shell grep -h '\.ko' /dev/null $(wildcard $(MODVERDIR)/*.mod))) | 50 | __modules := $(sort $(shell grep -h '\.ko' /dev/null $(wildcard $(MODVERDIR)/*.mod))) |
diff --git a/scripts/basic/docproc.c b/scripts/basic/docproc.c index 4ab6cbf09225..d6071cbf13d7 100644 --- a/scripts/basic/docproc.c +++ b/scripts/basic/docproc.c | |||
| @@ -250,7 +250,7 @@ void intfunc(char * filename) { docfunctions(filename, NOFUNCTION); } | |||
| 250 | void extfunc(char * filename) { docfunctions(filename, FUNCTION); } | 250 | void extfunc(char * filename) { docfunctions(filename, FUNCTION); } |
| 251 | 251 | ||
| 252 | /* | 252 | /* |
| 253 | * Document spåecific function(s) in a file. | 253 | * Document specific function(s) in a file. |
| 254 | * Call kernel-doc with the following parameters: | 254 | * Call kernel-doc with the following parameters: |
| 255 | * kernel-doc -docbook -function function1 [-function function2] | 255 | * kernel-doc -docbook -function function1 [-function function2] |
| 256 | */ | 256 | */ |
diff --git a/scripts/kconfig/.gitignore b/scripts/kconfig/.gitignore index e8ad1f6b3da4..b49584c932cc 100644 --- a/scripts/kconfig/.gitignore +++ b/scripts/kconfig/.gitignore | |||
| @@ -6,6 +6,8 @@ lex.*.c | |||
| 6 | *.tab.c | 6 | *.tab.c |
| 7 | *.tab.h | 7 | *.tab.h |
| 8 | zconf.hash.c | 8 | zconf.hash.c |
| 9 | *.moc | ||
| 10 | lkc_defs.h | ||
| 9 | 11 | ||
| 10 | # | 12 | # |
| 11 | # configuration programs | 13 | # configuration programs |
diff --git a/scripts/kconfig/lxdialog/dialog.h b/scripts/kconfig/lxdialog/dialog.h index 8dea47f9d3e4..fd695e1070f7 100644 --- a/scripts/kconfig/lxdialog/dialog.h +++ b/scripts/kconfig/lxdialog/dialog.h | |||
| @@ -24,6 +24,7 @@ | |||
| 24 | #include <ctype.h> | 24 | #include <ctype.h> |
| 25 | #include <stdlib.h> | 25 | #include <stdlib.h> |
| 26 | #include <string.h> | 26 | #include <string.h> |
| 27 | #include <stdbool.h> | ||
| 27 | 28 | ||
| 28 | #ifdef __sun__ | 29 | #ifdef __sun__ |
| 29 | #define CURS_MACROS | 30 | #define CURS_MACROS |
diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 00d1ad19b2cc..187f5de4612c 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc | |||
| @@ -1262,7 +1262,9 @@ sub output_intro_text(%) { | |||
| 1262 | } | 1262 | } |
| 1263 | 1263 | ||
| 1264 | ## | 1264 | ## |
| 1265 | # generic output function for typedefs | 1265 | # generic output function for all types (function, struct/union, typedef, enum); |
| 1266 | # calls the generated, variable output_ function name based on | ||
| 1267 | # functype and output_mode | ||
| 1266 | sub output_declaration { | 1268 | sub output_declaration { |
| 1267 | no strict 'refs'; | 1269 | no strict 'refs'; |
| 1268 | my $name = shift; | 1270 | my $name = shift; |
| @@ -1278,8 +1280,7 @@ sub output_declaration { | |||
| 1278 | } | 1280 | } |
| 1279 | 1281 | ||
| 1280 | ## | 1282 | ## |
| 1281 | # generic output function - calls the right one based | 1283 | # generic output function - calls the right one based on current output mode. |
| 1282 | # on current output mode. | ||
| 1283 | sub output_intro { | 1284 | sub output_intro { |
| 1284 | no strict 'refs'; | 1285 | no strict 'refs'; |
| 1285 | my $func = "output_intro_".$output_mode; | 1286 | my $func = "output_intro_".$output_mode; |
| @@ -1518,6 +1519,9 @@ sub dump_function($$) { | |||
| 1518 | $prototype =~ s/^asmlinkage +//; | 1519 | $prototype =~ s/^asmlinkage +//; |
| 1519 | $prototype =~ s/^inline +//; | 1520 | $prototype =~ s/^inline +//; |
| 1520 | $prototype =~ s/^__inline__ +//; | 1521 | $prototype =~ s/^__inline__ +//; |
| 1522 | $prototype =~ s/^__inline +//; | ||
| 1523 | $prototype =~ s/^__always_inline +//; | ||
| 1524 | $prototype =~ s/^noinline +//; | ||
| 1521 | $prototype =~ s/__devinit +//; | 1525 | $prototype =~ s/__devinit +//; |
| 1522 | $prototype =~ s/^#define +//; #ak added | 1526 | $prototype =~ s/^#define +//; #ak added |
| 1523 | $prototype =~ s/__attribute__ \(\([a-z,]*\)\)//; | 1527 | $prototype =~ s/__attribute__ \(\([a-z,]*\)\)//; |
| @@ -1778,8 +1782,9 @@ sub process_file($) { | |||
| 1778 | $in_doc_sect = 1; | 1782 | $in_doc_sect = 1; |
| 1779 | $contents = $newcontents; | 1783 | $contents = $newcontents; |
| 1780 | if ($contents ne "") { | 1784 | if ($contents ne "") { |
| 1781 | if (substr($contents, 0, 1) eq " ") { | 1785 | while ((substr($contents, 0, 1) eq " ") || |
| 1782 | $contents = substr($contents, 1); | 1786 | substr($contents, 0, 1) eq "\t") { |
| 1787 | $contents = substr($contents, 1); | ||
| 1783 | } | 1788 | } |
| 1784 | $contents .= "\n"; | 1789 | $contents .= "\n"; |
| 1785 | } | 1790 | } |
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 41277963f47a..2e1141623147 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c | |||
| @@ -921,6 +921,8 @@ static int init_section_ref_ok(const char *name) | |||
| 921 | ".fixup", | 921 | ".fixup", |
| 922 | ".smp_locks", | 922 | ".smp_locks", |
| 923 | ".plt", /* seen on ARCH=um build on x86_64. Harmless */ | 923 | ".plt", /* seen on ARCH=um build on x86_64. Harmless */ |
| 924 | "__ftr_fixup", /* powerpc cpu feature fixup */ | ||
| 925 | "__fw_ftr_fixup", /* powerpc firmware feature fixup */ | ||
| 924 | NULL | 926 | NULL |
| 925 | }; | 927 | }; |
| 926 | /* Start of section names */ | 928 | /* Start of section names */ |
