09 Jan, 2012

1 commit


23 Mar, 2011

1 commit


02 Mar, 2011

1 commit

  • Call input_set_abs_params instead of manually setting absbit only.
    This fixes this oops:

    Unable to handle kernel NULL pointer dereference at virtual address 00000024
    Internal error: Oops: 41b67017 [#1]
    CPU: 0 Not tainted (2.6.37 #4)
    pc : [] lr : [] psr: 20000093
    sp : c19e5f30 ip : c19e5e6c fp : c19e5f58
    r10: 00000000 r9 : c19e4000 r8 : 00000003
    r7 : 000001e4 r6 : 00000001 r5 : c1854400 r4 : 00000003
    r3 : 00000018 r2 : 00000018 r1 : 00000018 r0 : c185447c
    Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel
    Control: c1b6717f Table: c1b6717f DAC: 00000017
    Stack: (0xc19e5f30 to 0xc19e6000)
    5f20: 00000003 00000003 c1854400 00000013
    5f40: 00000001 000001e4 000001c5 c19e5f80 c19e5f5c c016d5e8 c016cf5c 000001e4
    5f60: c1854400 c18b5860 00000000 00000171 000001e4 c19e5fc4 c19e5f84 c01559a4
    5f80: c016d584 c18b5868 00000000 c1bb5c40 c0035afc c18b5868 c18b5868 c1a55d54
    5fa0: c18b5860 c0155750 00000013 00000000 00000000 00000000 c19e5ff4 c19e5fc8
    5fc0: c0050174 c015575c 00000000 c18b5860 00000000 c19e5fd4 c19e5fd4 c1a55d54
    5fe0: c00500f0 c003b464 00000000 c19e5ff8 c003b464 c00500fc 04000400 04000400
    Backtrace:
    Function entered at [] from []
    Function entered at [] from []
    r8:000001e4 r7:00000171 r6:00000000 r5:c18b5860 r4:c1854400
    Function entered at [] from []
    Function entered at [] from []
    r6:c003b464 r5:c00500f0 r4:c1a55d54
    Code: e59520fc e1a03286 e0433186 e0822003 (e592000c)

    >>PC; c016d1fc
    Trace; c016d5e8
    Trace; c016d578
    Trace; c01559a4
    Trace; c0155750
    Trace; c0050174
    Trace; c00500f0
    Trace; c003b464

    Signed-off-by: Jochen Friedrich
    CC: stable@kernel.org
    Signed-off-by: Samuel Ortiz

    Jochen Friedrich
     

28 Nov, 2009

1 commit


30 Nov, 2008

1 commit

  • When ISA_DMA_API is unset, we're not implementing the ISA DMA API,
    so there's no point in publishing the prototypes via asm/dma.h, nor
    including the machine dependent parts of that API.

    This allows us to remove a lot of mach/dma.h files which don't contain
    any useful code. Unfortunately though, some platforms put their own
    private non-ISA definitions into mach/dma.h, so we leave these behind
    and fix the appropriate #include statments.

    Signed-off-by: Russell King

    Russell King
     

07 Aug, 2008

1 commit


28 Apr, 2008

1 commit

  • Since this routine declares a separate "tsk" pointer for no other reason than
    to call set_task_state(), get rid of it and just invoke set_current_state().

    Signed-off-by: Robert P. J. Day
    Cc: Russell King
    Cc: Dmitry Torokhov
    Cc: Nicolas Pitre
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Robert P. J. Day
     

19 Apr, 2008

1 commit


18 Jul, 2007

1 commit

  • Currently, the freezer treats all tasks as freezable, except for the kernel
    threads that explicitly set the PF_NOFREEZE flag for themselves. This
    approach is problematic, since it requires every kernel thread to either
    set PF_NOFREEZE explicitly, or call try_to_freeze(), even if it doesn't
    care for the freezing of tasks at all.

    It seems better to only require the kernel threads that want to or need to
    be frozen to use some freezer-related code and to remove any
    freezer-related code from the other (nonfreezable) kernel threads, which is
    done in this patch.

    The patch causes all kernel threads to be nonfreezable by default (ie. to
    have PF_NOFREEZE set by default) and introduces the set_freezable()
    function that should be called by the freezable kernel threads in order to
    unset PF_NOFREEZE. It also makes all of the currently freezable kernel
    threads call set_freezable(), so it shouldn't cause any (intentional)
    change of behaviour to appear. Additionally, it updates documentation to
    describe the freezing of tasks more accurately.

    [akpm@linux-foundation.org: build fixes]
    Signed-off-by: Rafael J. Wysocki
    Acked-by: Nigel Cunningham
    Cc: Pavel Machek
    Cc: Oleg Nesterov
    Cc: Gautham R Shenoy
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rafael J. Wysocki
     

05 Jun, 2007

1 commit


04 Jun, 2007

1 commit


23 May, 2007

2 commits


09 May, 2007

1 commit


08 Dec, 2006

1 commit


30 Sep, 2006

1 commit


01 Jul, 2006

1 commit


09 Jan, 2006

1 commit


13 Dec, 2005

1 commit

  • The bd622663192e8ebebb27dc1d9397f352a82d2495 commit broke the UCB1x00
    touchscreen driver since the idev structure was assumed to be into the ts
    structure, simply casting the former to the later in a couple places.

    This patch fixes those, and also cache the idev pointer between multiple
    calls to input_report_abs() to avoid growing the compiled code needlessly.

    Signed-off-by: Nicolas Pitre
    Cc: Dmitry Torokhov
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Nicolas Pitre
     

31 Oct, 2005

1 commit


29 Oct, 2005

1 commit


24 Sep, 2005

1 commit


11 Sep, 2005

2 commits