summaryrefslogtreecommitdiff
path: root/scripts/mod/modpost.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-03-24 19:32:38 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-03-24 19:32:38 -0700
commitd56dc0b641da647012af573dac4a5fa7b9883fe0 (patch)
tree7f618b9cbc06e7f4ba1771f7b7ccd370939df3bd /scripts/mod/modpost.h
parent266c2e0abeca649fa6667a1a427ad1da507c6375 (diff)
parent4ce6efed48d736e3384c39ff87bda723e1f8e041 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-linus
* git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-linus: kbuild: soften modpost checks when doing cross builds
Diffstat (limited to 'scripts/mod/modpost.h')
-rw-r--r--scripts/mod/modpost.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/mod/modpost.h b/scripts/mod/modpost.h
index 565c5872407e..09f58e33d227 100644
--- a/scripts/mod/modpost.h
+++ b/scripts/mod/modpost.h
@@ -135,6 +135,7 @@ struct elf_info {
};
/* file2alias.c */
+extern unsigned int cross_build;
void handle_moddevtable(struct module *mod, struct elf_info *info,
Elf_Sym *sym, const char *symname);
void add_moddevtable(struct buffer *buf, struct module *mod);