1. 02 1月, 2006 1 次提交
  2. 27 12月, 2005 5 次提交
  3. 26 12月, 2005 4 次提交
    • U
      kbuild: set correct KBUILD_MODNAME when using well known kernel symbols as module names · f83b5e32
      Ustyugov Roman 提交于
      This patch fixes a problem when we use well known kernel symbols as module
      names.
      
      For example, if module source name is current.c, idle_stack.c or etc.,
      we have a bad KBUILD_MODNAME value.
      For example, KBUILD_MODNAME will be "get_current()" instead of "current", or
      "(init_thread_union.stack)" instead of "idle_task".
      
      The trick is to define a stringify macro on the commandline - named
      KBUILD_STR for namespace reasons - and then to stringify the module
      name.
      
      There are a few uses of KBUILD_MODNAME throughout the tree but the usage
      is for debug and will not be harmed by this change so left untouched for now.
      
      While at it KBUILD_BASENAME was changed too. Any spinlock usage in the
      unix module would have created wrong section names without it.
      Usage in spinlock.h fixed so it no longer stringify KBUILD_BASENAME.
      
      Original patch from Ustyogov Roman - all bugs introduced by me.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      f83b5e32
    • S
      kbuild: escape '#' in .target.cmd files · 4d99f93b
      Sam Ravnborg 提交于
      Commandlines are contained in the .<target>.cmd files and in case they
      contain a '#' char make see this as start of comment.
      Teach fixdep to escape the '#' char so make will assing the full commandline.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      4d99f93b
    • J
      kbuild: Add ctags support for function prototypes and external variable declarations · f6333eb4
      John Kacur 提交于
      This patch adds function prototypes and external variable declarations
      to the set of tag kinds when running ctags. I find this useful when
      perusing the kernel. Please apply.
      Signed-off-by: NJohn Kacur <jkacur@rogers.com>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      f6333eb4
    • L
      kbuild: Fix crc-error warning on modules · 9572b28f
      Luke Yang 提交于
         This is the patch for the following issue:
      
       In include/linux/module.h, "__crc_" and "__ksymtab_" are hard
      coded to be the   prefix for some kinds of symbols (CRC symbol and
      ksymtab section). But in script /mod/modpost.c,
      MODULE_SYMBOL_PREFIX##"__crc_" is used as the prefix to search CRC
      symbols. So if an architecture (such as h8300 or Blackfin) defines
      MODULE_SYMBOL_PREFIX as not NULL ("_"), modpost will always warn about
      "no invalid crc".
        And it is the same with KSYMTAB_PFX.
      Signed-off-by: NLuke Yang <luke.adi@gmail.com>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      9572b28f
  4. 17 12月, 2005 4 次提交
  5. 22 11月, 2005 1 次提交
  6. 21 11月, 2005 3 次提交
  7. 20 11月, 2005 4 次提交
  8. 19 11月, 2005 18 次提交