mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-06 05:13:18 +00:00
genksyms: fix metag symbol prefix on crc symbols
Meta uses symbol prefixes, so add "metag" to the list of architectures to set the mod_prefix to "_" for. This fixes __crc_* symbols to add the extra underscore to match _CRC_SYMBOL macro in <linux/export.h> and so that modpost finds them. Signed-off-by: James Hogan <james.hogan@imgtec.com>
This commit is contained in:
parent
f75c28d896
commit
97c3ec6308
@ -826,7 +826,8 @@ int main(int argc, char **argv)
|
|||||||
genksyms_usage();
|
genksyms_usage();
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
if ((strcmp(arch, "h8300") == 0) || (strcmp(arch, "blackfin") == 0))
|
if ((strcmp(arch, "h8300") == 0) || (strcmp(arch, "blackfin") == 0) ||
|
||||||
|
(strcmp(arch, "metag") == 0))
|
||||||
mod_prefix = "_";
|
mod_prefix = "_";
|
||||||
{
|
{
|
||||||
extern int yydebug;
|
extern int yydebug;
|
||||||
|
Loading…
Reference in New Issue
Block a user