28 Jul, 2008

2 commits

  • The majority of this patch was created by the following script:

    ***
    ASM=arch/sparc/include/asm
    mkdir -p $ASM
    git mv include/asm-sparc64/ftrace.h $ASM
    git rm include/asm-sparc64/*
    git mv include/asm-sparc/* $ASM
    sed -ie 's/asm-sparc64/asm/g' $ASM/*
    sed -ie 's/asm-sparc/asm/g' $ASM/*
    ***

    The rest was an update of the top-level Makefile to use sparc
    for header files when sparc64 is being build.
    And a small fixlet to pick up the correct unistd.h from
    sparc64 code.

    Signed-off-by: Sam Ravnborg

    Sam Ravnborg
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-next: (25 commits)
    setlocalversion: do not describe if there is nothing to describe
    kconfig: fix typos: "Suport" -> "Support"
    kconfig: make defconfig is no longer chatty
    kconfig: make oldconfig is now less chatty
    kconfig: speed up all*config + randconfig
    kconfig: set all new symbols automatically
    kconfig: add diffconfig utility
    kbuild: remove Module.markers during mrproper
    kbuild: sparse needs CF not CHECKFLAGS
    kernel-doc: handle/strip __init
    vmlinux.lds: move __attribute__((__cold__)) functions back into final .text section
    init: fix URL of "The GNU Accounting Utilities"
    kbuild: add arch/$ARCH/include to search path
    kbuild: asm symlink support for arch/$ARCH/include
    kbuild: support arch/$ARCH/include for tags, cscope
    kbuild: prepare headers_* for arch/$ARCH/include
    kbuild: install all headers when arch is changed
    kbuild: make clean removes *.o.* as well
    kbuild: optimize headers_* targets
    kbuild: only one call for include/ in make headers_*
    ...

    Linus Torvalds
     

26 Jul, 2008

10 commits


23 Jul, 2008

1 commit

  • When a kernel was rebuilt, the previous Module.markers was not cleared.
    It caused markers with different format strings to appear as duplicates
    when a markers was changed. This problem is present since
    scripts/mod/modpost.c started to generate Module.markers, commit
    b2e3e658b344c6bcfb8fb694100ab2f2b5b2edb0

    It therefore applies to 2.6.25, 2.6.26 and linux-next.

    I merely merged the patches from Roland, Wenji and Takashi here.

    Credits to
    Roland McGrath
    Wenji Huang
    and
    Takashi Nishiie

    for providing the individual fixes.

    - Changelog :
    - Integrated Takashi's Makefile modification to clear Module.markers upon
    make clean.

    Signed-off-by: Mathieu Desnoyers
    Cc: Roland McGrath
    Cc: Wenji Huang
    Cc: Takashi Nishiie
    Cc: [2.6.25.x, 2.6.26.x]
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mathieu Desnoyers
     

18 Jul, 2008

1 commit

  • The patch named "powerpc/mpc5121: Add clock driver", also contained
    an unrelated and bogus change to the top-level makefile. This patch
    backs out the bad bit.

    SHA1 of offending patch: 137e95906e294913fab02162e8a1948ade49acb5)

    Signed-off-by: Grant Likely
    Acked-by: Benjamin Herrenschmidt
    Repented-by: John Rigby
    [ Heh. Normally I pick these out from the diffstats, but I guess
    I've grown to trust the ppc tree too much ;) - Linus ]
    Signed-off-by: Linus Torvalds

    Grant Likely
     

17 Jul, 2008

1 commit

  • Crosscompiling on a Fedora 9 machine running gcc 4.3.0 as its host compiler
    and gcc 3.4.6 for the mips-linux target results in the following build
    error:

    $ make malta_defconfig
    $ make
    cc1: error: unrecognized command line option "-fno-stack-protector"
    scripts/kconfig/conf -s arch/mips/Kconfig
    cc1: error: unrecognized command line option "-fno-stack-protector"

    The arch Makefile is included too late so the host compiler is feature
    tested, not the crosscompiler as intended and thus the Makefile applies
    adds -fno-stack-protector to crosscompiler's flags which fails for gcc
    3.4.6. The bug was introduced by e06b8b98da071f7dd78fb7822991694288047df0
    in 2.6.25; 35bb5b1e0e84cfa1a8906f7e6a77f391ff315791 did add more flags
    testing before the arch Makefile inclusion.

    Signed-off-by: Ralf Baechle
    Signed-off-by: Linus Torvalds

    Ralf Baechle
     

16 Jul, 2008

1 commit


15 Jul, 2008

4 commits


14 Jul, 2008

2 commits


13 Jul, 2008

1 commit

  • Plugs into the generic powerpc clock driver in
    arch/powerpc/kernel/clock.c

    The following subset of clk_interface is implemented:
    clk_get, clk_put: get clock via name, release clock
    clk_enable, clk_disable: enable or disable clock
    clk_get_rate: get clock rate in Hz
    clk_set_rate: stubbed
    clk_round_rate: stubbed
    clk_set_parent: NULL
    clk_get_parent: NULL

    Signed-off-by: John Rigby
    Signed-off-by: Grant Likely

    John Rigby
     

10 Jul, 2008

3 commits


06 Jul, 2008

1 commit


25 Jun, 2008

2 commits


23 Jun, 2008

1 commit


21 Jun, 2008

1 commit


16 Jun, 2008

1 commit


13 Jun, 2008

1 commit


05 Jun, 2008

1 commit


27 May, 2008

1 commit


24 May, 2008

1 commit

  • If CONFIG_FTRACE is selected and /proc/sys/kernel/ftrace_enabled is
    set to a non-zero value the ftrace routine will be called everytime
    we enter a kernel function that is not marked with the "notrace"
    attribute.

    The ftrace routine will then call a registered function if a function
    happens to be registered.

    [ This code has been highly hacked by Steven Rostedt and Ingo Molnar,
    so don't blame Arnaldo for all of this ;-) ]

    Update:
    It is now possible to register more than one ftrace function.
    If only one ftrace function is registered, that will be the
    function that ftrace calls directly. If more than one function
    is registered, then ftrace will call a function that will loop
    through the functions to call.

    Signed-off-by: Arnaldo Carvalho de Melo
    Signed-off-by: Steven Rostedt
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner

    Arnaldo Carvalho de Melo
     

20 May, 2008

2 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes:
    Don't clean bounds.h and asm-offsets.h
    kconfig: incorrect 'len' field initialisation ?
    kernel-doc: allow unnamed bit-fields
    kbuild: filter away debug symbols from kernel symbols
    Remove *.rej pattern from .gitignore
    MAINTAINERS: document names of new kbuild trees
    kbuild: disable modpost warnings for linkonce sections
    kbuild: escape meta characters in regular expression in make TAGS

    Linus Torvalds
     
  • Since 97965478a66fbdf0f4ad5e4ecc4828f0cb548a45 ("mm: Get rid of __ZONE_COUNT")
    mmzone.h includes bounds.h.
    Calling make clean after make prepare removes bounds.h
    again so when building external modules this fails.

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

    Jan Blunck
     

19 May, 2008

1 commit


12 May, 2008

1 commit