27 Jul, 2011

1 commit

  • This allows us to move duplicated code in
    (atomic_inc_not_zero() for now) to

    Signed-off-by: Arun Sharma
    Reviewed-by: Eric Dumazet
    Cc: Ingo Molnar
    Cc: David Miller
    Cc: Eric Dumazet
    Acked-by: Mike Frysinger
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Arun Sharma
     

01 Jul, 2011

1 commit

  • The nmi parameter indicated if we could do wakeups from the current
    context, if not, we would set some state and self-IPI and let the
    resulting interrupt do the wakeup.

    For the various event classes:

    - hardware: nmi=0; PMI is in fact an NMI or we run irq_work_run from
    the PMI-tail (ARM etc.)
    - tracepoint: nmi=0; since tracepoint could be from NMI context.
    - software: nmi=[0,1]; some, like the schedule thing cannot
    perform wakeups, and hence need 0.

    As one can see, there is very little nmi=1 usage, and the down-side of
    not using it is that on some platforms some software events can have a
    jiffy delay in wakeup (when arch_irq_work_raise isn't implemented).

    The up-side however is that we can remove the nmi parameter and save a
    bunch of conditionals in fast paths.

    Signed-off-by: Peter Zijlstra
    Cc: Michael Cree
    Cc: Will Deacon
    Cc: Deng-Cheng Zhu
    Cc: Anton Blanchard
    Cc: Eric B Munson
    Cc: Heiko Carstens
    Cc: Paul Mundt
    Cc: David S. Miller
    Cc: Frederic Weisbecker
    Cc: Jason Wessel
    Cc: Don Zickus
    Link: http://lkml.kernel.org/n/tip-agjev8eu666tvknpb3iaj0fg@git.kernel.org
    Signed-off-by: Ingo Molnar

    Peter Zijlstra
     

13 Oct, 2010

1 commit


06 Oct, 2010

1 commit

  • The spinlock in traps_64.c is used without initialization.
    This fixes it by declaring DEFINE_SPINLOCK() and makes the spinlock static
    variable.

    Signed-off-by: Akinobu Mita
    Cc: Paul Mundt
    Cc: linux-sh@vger.kernel.org
    Signed-off-by: Paul Mundt

    Akinobu Mita
     

18 May, 2010

1 commit


19 Jan, 2010

1 commit


15 Dec, 2009

1 commit


19 Nov, 2009

1 commit


12 Nov, 2009

1 commit

  • Now that sys_sysctl is a generic wrapper around /proc/sys .ctl_name
    and .strategy members of sysctl tables are dead code. Remove them.

    Also add an C99 named initializer to the child member of unaligned_root
    to prevent chaos as the ctl_table definition changes over time.

    Cc: Paul Mundt
    Signed-off-by: Eric W. Biederman

    Eric W. Biederman
     

08 May, 2009

1 commit

  • sh64 has traditionally had this configurable via a Kconfig option
    (CONFIG_SH64_USER_MISALIGNED_FIXUP). In practice it has never really been
    terribly useful to turn this off, so just get rid of the option entirely.

    We leave the sysctl around so we don't end up breaking existing root
    file systems, and to allow folks that really want this off to do so at
    their own risk.

    Signed-off-by: Paul Mundt

    Paul Mundt
     

16 Apr, 2008

1 commit

  • This patch fixes some compile errors due to missing save_fpu()
    prototypes on sh64 caused by
    commit 9bbafce2eec190ef7e44b0eb1095ba17ce6ad3af
    (sh: Fix occasional FPU register corruption under preempt).

    Signed-off-by: Adrian Bunk
    Signed-off-by: Paul Mundt

    Adrian Bunk
     

06 Mar, 2008

1 commit


14 Feb, 2008

1 commit


28 Jan, 2008

4 commits