• Kai Germaschewski's avatar
    modules: Fix exporting symbols from modules · 494c779a
    Kai Germaschewski authored
    This patch fixes two issues:
    o The CONFIG_MODVERSIONING=y case broke at compile time since some
      functions were not updated with the latest module changes
    o Exporting symbols from modules stopped working due to confusion of
      mod->num_syms and mod->num_ksyms. Rename mod->num_ksyms to mod->num_syms,
      which is more logical since the associated array is called ->syms, and
      for the kallsyms member use "num_symtab", since the associated array is
      ->symtab.
    494c779a
module.c 39.9 KB