Skip to content

Commit

Permalink
modpost: remove left-over cross_compile declaration
Browse files Browse the repository at this point in the history
This is a remnant of commit 6543bec ("mod/file2alias: make
modalias generation safe for cross compiling").

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
  • Loading branch information
Masahiro Yamada committed May 11, 2022
1 parent 78e9e56 commit ce79c40
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/mod/modpost.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ static inline unsigned int get_secindex(const struct elf_info *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);
Expand Down

0 comments on commit ce79c40

Please sign in to comment.