29 Jan, 2008

40 commits

  • Gettext support for symbol names are unnecessary.

    Signed-off-by: Egry Gabor
    Reviewed-by: Sam Ravnborg
    Signed-off-by: Sam Ravnborg
    Cc: Roman Zippel

    EGRY Gabor
     
  • Gettext support for conf.c

    [Include locale.h by Kyle].

    Signed-off-by: Egry Gabor
    Reviewed-by: Sam Ravnborg
    Signed-off-by: Sam Ravnborg
    Cc: Roman Zippel
    Cc: Kyle McMartin

    EGRY Gabor
     
  • Gettext support for lxdialog.

    Signed-off-by: Egry Gabor
    Reviewed-by: Sam Ravnborg
    Signed-off-by: Sam Ravnborg
    Cc: Roman Zippel

    EGRY Gabor
     
  • Full gettext support for menuconfig.

    Signed-off-by: Egry Gabor
    Reviewed-by: Sam Ravnborg
    Signed-off-by: Sam Ravnborg
    Cc: Roman Zippel

    EGRY Gabor
     
  • Full gettext support for xconfig.

    Signed-off-by: Egry Gabor
    Reviewed-by: Sam Ravnborg
    Signed-off-by: Sam Ravnborg
    Cc: Roman Zippel

    EGRY Gabor
     
  • This patch removes the indirect I18N support for config file.

    Signed-off-by: Egry Gabor
    Signed-off-by: Sam Ravnborg
    Cc: Roman Zippel

    EGRY Gabor
     
  • Gettext support for menu and toolbar.

    Signed-off-by: Egry Gabor
    Reviewed-by: Sam Ravnborg
    Signed-off-by: Sam Ravnborg
    Cc: Roman Zippel

    EGRY Gabor
     
  • This patch adds missing gettext macros.

    Signed-off-by: Egry Gabor
    Reviewed-by: Sam Ravnborg
    Signed-off-by: Sam Ravnborg
    Cc: Roman Zippel

    EGRY Gabor
     
  • This patch removes the unnecessary whitespaces from
    end of help lines of Kconfig files.

    Signed-off-by: Egry Gabor
    Reviewed-by: Sam Ravnborg
    Signed-off-by: Sam Ravnborg
    Cc: Roman Zippel

    EGRY Gabor
     
  • This patch adds tracking messages.

    Signed-off-by: Egry Gabor
    Reviewed-by: Sam Ravnborg
    Signed-off-by: Sam Ravnborg
    Cc: Roman Zippel

    EGRY Gabor
     
  • The output of 'make help' covers a lot of options, but doesn't include
    a listing for 'make prepare'. Here's a one-liner to fix that...

    Signed-off-by: Valdis Kletnieks
    Signed-off-by: Sam Ravnborg

    Valdis.Kletnieks@vt.edu
     
  • Rather than fixing the output directory in the generated Makefile,
    determine it from the placement of Makefile. This allows moving
    the build tree around or accessing it through different mount paths.

    (The lastword definition is a compatibility one for make prior to 3.81;
    newer make will simply ignore it and use the [faster] built-in.)

    Signed-off-by: Jan Beulich
    Signed-off-by: Sam Ravnborg

    Jan Beulich
     
  • akpm complained about overly long lines in modpost.c and
    when started additional style issues were fixed:

    o Updated my copyright
    o Removed unneeded {}
    o Drop assignments in if ()
    o Spaces around operators
    o Break long lines
    o locate * near variable not type
    o Fix a format specifier for sizeof()
    o Corrected placement of '{' and '}'
    o spaces to tabs (but use tabs only for indention)

    modpost.c is not checkpatch clean. Readability were favoured
    on top of checkpatch compliance.
    But checkpatch were used to find additional stuff to clean up.

    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     
  • rand and srand functions conform also to C89 in addition to POSIX.1-2001,
    which makes them a bit more portable (work also on MinGW host). Linux man
    page also says:
    "The versions of rand() and srand() in the Linux C Library use the same
    random number generator as random() and srandom()".

    * Use C89 conformant functions rand() and srand()

    Signed-off-by: Ladislav Michl
    Signed-off-by: Sam Ravnborg
    Cc: Roman Zippel

    Ladislav Michl
     
  • Sort includes and remove leading whitespace.

    Signed-off-by: Ladislav Michl
    Signed-off-by: Sam Ravnborg
    Cc: Roman Zippel <zippel@linux-m68k.org

    Ladislav Michl
     
  • With this patch I'm able to find the definition of _xmit_lock defined in
    include/linux/netdevice.h as follows:

    struct net_device {
    ...
    spinlock_t _xmit_lock ____cacheline_aligned_in_smp;
    }

    Otherwise this counts as definition of ____cacheline_aligned_in_smp.

    Signed-off-by: Uwe Kleine-König
    Signed-off-by: Sam Ravnborg

    Uwe Kleine-König
     
  • The *_PRINTED flags were never used - so delete them.
    Do we need them later then we can re-add them.

    Signed-off-by: Sam Ravnborg
    Cc: Roman Zippel

    Sam Ravnborg
     
  • We had macros named the same as a set of enumeration values.
    It is legal code but very confusing to read - so rename
    the macros from E_* to EXPR_*

    Signed-off-by: Sam Ravnborg
    Cc: Roman Zippel

    Sam Ravnborg
     
  • Allow config variables in .config to override earlier ones in the same
    file. In other words,

    # CONFIG_SECURITY is not defined
    CONFIG_SECURITY=y

    will activate it. This makes it a bit easier to do

    cat original-config myconfig myconfig2 ... >.config;
    and run *config as expected.

    Signed-off-by: Jan Engelhardt
    Signed-off-by: Sam Ravnborg
    Cc: Roman Zippel
    Cc: Randy Dunlap

    Jan Engelhardt
     
  • Kconfig is powerfull tool. So powerfull that more and more software
    projects are using it for configuration. So instead of fixing some of
    them one by one, lets fix it in kernel and wait for sync.

    This work was originaly done for PTXdist - GPL licensed build system for
    userlands and cross-compilers, but it will not hurt kernel kconfig
    either. PTXdist menuconfig now works on Windows linked with PDCurses and
    compiled using MinGW - there is no termios and signals.

    * Do not include and (comes from times when
    lxdialog was separate process)
    * Do not mess with termios directly and let curses tell screen size.
    Comment to commit c8dc68ad0fbd934e78e913b8a8d7b45945db4930 says
    check for screen size could be removed later, but because it didn't
    happen for more than year I left it here as well.
    * Save cursor position added by Sam

    Signed-off-by: Ladislav Michl
    Signed-off-by: Sam Ravnborg
    Cc: Roman Zippel

    Ladislav Michl
     
  • Add a section on kconfig hints: how to do in Kconfig files.

    Fix a few typos/spellos.

    Signed-off-by: Randy Dunlap
    Signed-off-by: Sam Ravnborg

    Randy Dunlap
     
  • make-kpkg modifies scripts/package/Makefile and deletes
    scripts/package/builddeb as part of its build process. Ignore these
    changes so the tree isn't marked as -dirty, when it is just an
    artifact of make-kpkg. (make-kpkg clean restores the files to their
    original state, and these helper scripts won't affect the final
    compiled kernel in any way.)

    Signed-off-by: "Theodore Ts'o"
    Signed-off-by: Sam Ravnborg

    Theodore Ts'o
     
  • If git's index file is out of date, and some files have been touched
    such that their timestamp doesn't what is in the index, "git
    diff-index HEAD" may show that a particular file is dirty, when in
    fact it really isn't. Running "git update-index" will update the
    index to avoid these false positives.

    Signed-off-by: "Theodore Ts'o"
    Signed-off-by: Sam Ravnborg

    Theodore Ts'o
     
  • Change the automatic local version to have the form -nnnnn-gSHA1SUMID,
    where 'nnnnn' is the number of commits since the last tag (i.e.,
    2.6.21-rc7). This makes it much more likely that the package names created
    for the kernel will look "newer" to a package manager.

    Signed-off-by: "Theodore Ts'o"
    Signed-off-by: Sam Ravnborg

    Theodore Ts'o
     
  • Make the patch-kernel shell script sufficiently compatible with POSIX
    shells, i.e., remove bashisms from scripts/patch-kernel.
    This means that it now also works on dash 0.5.3-5
    and still works on bash 3.1dfsg-8.

    Full changelog:
    - replaced non-standard "==" by standard "="
    - replaced non-standard "source" statement by POSIX "dot" command
    - use leading ./ on mktemp filename to force the tempfile to a local
    directory, so that the search path is not used
    - replace bash syntax to remove leading dot by similar POSIX syntax
    - added missing (optional/not required) $ signs to shell variable names

    Signed-off-by: Andreas Mohr
    Acked-by: Randy Dunlap
    Signed-off-by: Sam Ravnborg

    Andreas Mohr
     
  • Remove dead code in smbfs makefile.

    Cc: Al Viro
    Cc: Tim Shimmin
    Signed-off-by: WANG Cong
    Signed-off-by: Sam Ravnborg

    WANG Cong
     
  • This patch drops TOPDIR from frv Makefiles.

    Cc: David Howells
    Signed-off-by: WANG Cong
    Signed-off-by: Sam Ravnborg

    WANG Cong
     
  • This patch removes TOPDIR from infiniband Makefile and delete
    one include statement pointing to a non-existing directory

    Cc: Roland Dreier
    Cc: Sean Hefty
    Cc: Hal Rosenstock
    Signed-off-by: WANG Cong
    Signed-off-by: Sam Ravnborg

    WANG Cong
     
  • This patch removes TOPDIR from Cris Makefiles.

    Cc: Mikael Starvik
    Cc: Jesper Nilsson
    Cc: Andreas Schwab
    Signed-off-by: WANG Cong
    Signed-off-by: Sam Ravnborg
    Acked-by: Jesper Nilsson

    WANG Cong
     
  • Eric Sandeen reported:
    Installing external modules is supposed to put them in some path
    under /lib/modules//extra/subdir/, but this change:
    http://linux.bkbits.net:8080/linux-2.6/?PAGE=cset&REV=1.1982.9.23
    makes them go under /lib/modules//extrasubdir

    (for example, make M=fs/ext3 modules_install puts ext3.ko in
    /lib/modules//extrafs/ext3.ko)

    This was the case only when specifying a trailing slash to M=..

    Fixed by removing trailing slash if present so
    we correctly match dir part of target.

    Signed-off-by: Sam Ravnborg
    Cc: Eric Sandeen

    Sam Ravnborg
     
  • auxvec.h, i2c-dev.h and vt.h *should* be unifdef'ed i2o-dev.h does not need
    unifdef'ing

    Signed-off-by: Robert P. J. Day
    Cc: David Woodhouse
    Signed-off-by: Andrew Morton
    Signed-off-by: Sam Ravnborg

    Robert P. J. Day
     
  • The usage does not mention the "-a,--arch" or "-T,--dump-types" options, so
    add them. The calls to getopt() seem to mention options that no longer exist
    (some "k" and "p" thingy) but omits the "h" option which means using '-h'
    actually triggers the error code path, so update those as well.

    Signed-off-by: Mike Frysinger
    Signed-off-by: Sam Ravnborg

    Mike Frysinger
     
  • Introducing the new modules.order patch created a number
    of additional files. Teach git to ignore them.

    Signed-off-by: Sam Ravnborg
    Acked-by: Tejun Heo

    Sam Ravnborg
     
  • Greg Schafer reported:
    ====
    $make mrproper
    scripts/gcc-version.sh: [[: command not found

    This is on a very old host with an ancient bash as /bin/sh. But I have
    CONFIG_SHELL set and pointing to a modern bash. Something is wrong.

    This doesn't happen with 2.6.23
    ====

    Fixed using a more common string equality test.

    Signed-off-by: Sam Ravnborg
    Cc: Greg Schafer
    Cc: Jesper Juhl

    Sam Ravnborg
     
  • Signed-off-by: Robert P. J. Day
    Signed-off-by: Sam Ravnborg

    Robert P. J. Day
     
  • This represents mercurial changesets similarly to git. For untagged
    revisions, append the changeset id. If there are uncommitted changes,
    append -dirty. For example, -hgc60016ba6237-dirty

    Signed-off-by: Aron Griffis
    Signed-off-by: Sam Ravnborg

    Aron Griffis
     
  • Switch from doing our own parsing of command line arguments to
    using getopt(3) to do it. Aside from simplifying things, this allows us to
    specify multiple arguments; the old code could only accept two arguments
    (input_mode and kconfig name).

    Note some subtle changes:
    - The argument '-?' is no longer supported.
    - '-h' is not treated as an error, so output goes to stdout, and we
    exit with '0'.
    - There is no compatibility checking amongst arguments; the last option
    will simply override earlier options. For example, 'conf -n -y foo'
    is perfectly valid now (input_mode will be set_yes). Previously, that
    would have been an error ("can't find file -y").

    Signed-off-by: Andres Salomon
    Signed-off-by: Sam Ravnborg
    Cc: Roman Zippel

    Andres Salomon
     
  • When passing an file name > 1k the stack could be overflowed.
    Not really a security issue, but still better plugged.
    Signed-off-by: Andi Kleen
    Signed-off-by: Sam Ravnborg

    Andi Kleen
     
  • Fix wrong format strings in modpost exposed by the previous patch.
    Including one missing argument -- some random data was printed instead.
    Signed-off-by: Andi Kleen
    Signed-off-by: Sam Ravnborg

    Andi Kleen
     
  • This way gcc can warn for wrong format strings
    Signed-off-by: Andi Kleen
    Signed-off-by: Sam Ravnborg

    Andi Kleen