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


11 May, 2008

1 commit

  • Alexey Dobriyan introduced a code adds
    menuconfig SOMETHING in Kconfig to tags output when you did "make tags".

    See http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=80ff26241623875636674a31c0540a78c0fb5433

    "make tags" may work fine with his code. However make TAGS doesn't work well
    because etags command requires backslashes to escape meta characters like
    `(', `)' and `|'.

    Here is a patch.

    Signed-off-by: Masatake YAMATO
    Signed-off-by: Sam Ravnborg

    Masatake YAMATO
     

04 May, 2008

1 commit


02 May, 2008

1 commit


29 Apr, 2008

2 commits

  • Signed-off-by: Andres Salomon
    Signed-off-by: Sam Ravnborg

    Andres Salomon
     
  • PowerPC will start moving board defconfigs into subarch-specific
    subdirs soon. "make help" currently does not look in subdirs to
    find the defconfigs to show. This is partially a good thing,
    since there are way too many defconfigs for one list.

    This patch makes the main "make help" display something like

    help-40x - Show 40x-specific targets
    help-44x - Show 44x-specific targets
    help-boards - Show all of the above

    and wires up stuff so those new help-* commands actually work.

    [sam: fixed it up to display x86 defconfigs too]
    Cc: Josh Boyer
    Signed-off-by: Segher Boessenkool
    Signed-off-by: Sam Ravnborg

    Segher Boessenkool
     

26 Apr, 2008

3 commits

  • Signed-off-by: Uwe Kleine-König
    Cc: trivial@kernel.org
    Signed-off-by: Sam Ravnborg

    Uwe Kleine-König
     
  • Add option to enable -Wframe-larger-than= on gcc 4.4

    gcc mainline (upcoming 4.4) added a new -Wframe-larger-than=...
    option to warn at build time about too large stack frames. Add a config
    option to enable this warning, since this very useful for the kernel.

    I choose (somewhat arbitarily) 2048 as default warning threshold for 64bit
    and 1024 as default for 32bit architectures. With some research and
    fixing all the code for smaller values these defaults should be probably
    lowered.

    With the default allyesconfigs have some new warnings, but I think
    that is all code that should be just fixed.

    At some point (when gcc 4.4 is released and widely used) this should
    obsolete make checkstack

    Signed-off-by: Andi Kleen
    Signed-off-by: Sam Ravnborg

    Andi Kleen
     
  • Steps to reproduce:

    vi -t NETFILTER

    Signed-off-by: Alexey Dobriyan
    Signed-off-by: Sam Ravnborg

    Alexey Dobriyan
     

25 Apr, 2008

1 commit


24 Apr, 2008

1 commit


22 Apr, 2008

1 commit


17 Apr, 2008

1 commit