Skip to content
Snippets Groups Projects
  1. Dec 26, 2005
    • Sam Ravnborg's avatar
      kbuild: always run 'make silentoldconfig' when tree is cleaned · 752625cf
      Sam Ravnborg authored
      
      If the file .kconfig.d is missing then make sure to run
      'make silentoldconfig', since we have no way to detect if
      a Kconfig file has been updated.
      
      -kconfig.d is created by kconfig and is removed as part
      of 'make clean' so the situation is likely to occur in reality.
      
      Jan Beulich <JBeulich@novell.com> reported this bug.
      
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      752625cf
    • Samuel Thibault's avatar
      kbuild: tags file generation fixup · 54e08a23
      Samuel Thibault authored
      
      Here is a fixup for tags file generation, for proper tags of
      __releases/__acquires functions.
      
      Signed-off-by: default avatar <samuel.thibault@ens-lyon.org>
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      54e08a23
    • Sam Ravnborg's avatar
      kbuild: remove EXPERIMENTAL tag from Module versioning · 0d541643
      Sam Ravnborg authored
      
      Module versioning support has been stable for a loong time
      so let's get rid of the EXPERIMENTAL tag.
      
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      0d541643
    • Sam Ravnborg's avatar
      kbuild: Create _shipped files for genksyms · c40f5640
      Sam Ravnborg authored
      
      Generate _shipped files so the genksyms change in previous commit is enabled.
      The files are generated with latest versions of the tools:
      
      bison (GNU Bison) 2.0
      flex version 2.5.4
      GNU gperf 3.0.1
      
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      c40f5640
    • Robin Holt's avatar
      kbuild: Fix genksyms handling of DEFINE_PER_CPU(struct foo_s *, bar); · a89a0a23
      Robin Holt authored
      
      This is a one-line change to parse.y.
      To take advantage of this the scripts/genksyms/*_shipped files needs to
      be rebuild - this is the next patch.
      
      When a .c file contains:
      DEFINE_PER_CPU(struct foo_s *, bar);
      
      the .cpp output looks like:
      __attribute__((__section__(".data.percpu"))) __typeof__(struct foo_s *) per_cpu__bar;
      
      With the existing parse.y, the value inside the paranthesis of
      __typeof__() does not evaluate as a type_specifier and therefore
      per_cpu__bar does not get assigned a type for genksyms which results in
      the EXPORT_PER_CPU_SYMBOL() not generating a CRC value.
      
      I have compared the Modules.symvers with and without this
      patch and for ia64's defconfig, the only change is:
      Before 0x00000000    per_cpu____sn_nodepda   vmlinux
      After  0x9d3f3faa    per_cpu____sn_nodepda   vmlinux
      
      per_cpu____sn_nodepda was the original source of my problems.
      
      Signed-off-by: default avatarRobin Holt <holt@sgi.com>
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      a89a0a23
    • Ustyugov Roman's avatar
      kbuild: set correct KBUILD_MODNAME when using well known kernel symbols as module names · f83b5e32
      Ustyugov Roman authored
      
      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: default avatarSam Ravnborg <sam@ravnborg.org>
      f83b5e32
  2. Dec 25, 2005
  3. Dec 16, 2005
  4. Nov 21, 2005
  5. Nov 20, 2005
  6. Nov 19, 2005
  7. Nov 18, 2005
Loading