30 Sep, 2006

21 commits

  • This is an updated version of Eric Biederman's is_init() patch.
    (http://lkml.org/lkml/2006/2/6/280). It applies cleanly to 2.6.18-rc3 and
    replaces a few more instances of ->pid == 1 with is_init().

    Further, is_init() checks pid and thus removes dependency on Eric's other
    patches for now.

    Eric's original description:

    There are a lot of places in the kernel where we test for init
    because we give it special properties. Most significantly init
    must not die. This results in code all over the kernel test
    ->pid == 1.

    Introduce is_init to capture this case.

    With multiple pid spaces for all of the cases affected we are
    looking for only the first process on the system, not some other
    process that has pid == 1.

    Signed-off-by: Eric W. Biederman
    Signed-off-by: Sukadev Bhattiprolu
    Cc: Dave Hansen
    Cc: Serge Hallyn
    Cc: Cedric Le Goater
    Cc:
    Acked-by: Paul Mackerras
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Sukadev Bhattiprolu
     
  • The current kernel serializes console resizes but does not serialize the
    resize against the tty structure updates. This means that while two
    parallel resizes cannot mess up the console you can get incorrect results
    reported.

    Secondly while doing this I added vc_lock_resize() to lock and resize the
    console. This leaves all knowledge of the console_sem in the vt/console
    driver and kicks it out of the tty layer, which is good

    Thirdly while doing this I decided I couldn't stand "disallocate" any
    longer so I switched it to "deallocate".

    Signed-off-by: Alan Cox
    Cc: Paul Fulghum
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alan Cox
     
  • Fix utf-8 mode so alternate charset modes always work according to control
    sequences interpreted in do_con_trol function preserving backward US-ASCII
    and VT100 semigraphics compatibility.

    Malformed utf-8 sequences are represented as sequences of replacement
    glyphs,original codes or '?' as a last resort.

    unicode-xterm, gnome-terminal, kconsole and other terminal emulators in
    utf-8 mode respect acsc, enacs, rmacs sequences. Also I found that some
    important system programs (from Debian distro) uses acsc in utf-8 mode -
    dselect, aptitude, w3m for example.

    Signed-off-by: Adam Tlalka
    Acked-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adam Tlalka
     
  • ucb1x00-ts: handle errors from input_register_device()

    Signed-off-by: Dmitry Torokhov
    Cc: Russell King
    Cc: Pavel Machek
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Dmitry Torokhov
     
  • Just comment and next "while" look _very_ wrong. Place { correctly to hint
    unsuspecting ones that it's the end of the loop actually.

    Signed-off-by: Alexey Dobriyan
    Cc: Dave Jones
    Acked-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alexey Dobriyan
     
  • As suggested by Muli Ben-Yehuda this function is moved to generic code as
    may be useful for all archs.

    [akpm@osdl.org: fix]
    Signed-off-by: Rolf Eike Beer
    Cc: Muli Ben-Yehuda
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rolf Eike Beer
     
  • Jon Smirl noted a couple of tty driver functions now are quite misleadingly
    named with the death of devfs. A quick grep found another case in the lp
    driver.

    Signed-off-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alan Cox
     
  • Previously, since determination whether there was an Intel random number
    generator was based on a single bit, on systems with a matching bridge
    device but without a firmware hub, there was a 50% chance that the code
    would incorrectly decide that the system had an RNG. This patch adds
    detection of the firmware hub to better qualify the existence of an RNG.

    There is one issue with the patch: I was unable to determine the LPC
    equivalent for the PCI bridge 8086:2430 (since the old code didn't care
    about which of the many devices provided by the ICH/ESB it was chose to use
    the PCI bridge device, but the FWH settings live in the LPC device, so the
    device list needed to be changed).

    Signed-off-by: Jan Beulich
    Signed-off-by: Michael Buesch
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Beulich
     
  • This teaches dmi_decode() how to decode and save OEM Strings (type 11) DMI
    information, which is currently discarded silently. Existing code using
    DMI is not affected. Follows the "System Management BIOS (SMBIOS)
    Specification" (http://www.dmtf.org/standards/smbios), and also the
    userspace dmidecode.c code.

    OEM Strings are the only safe way to identify some hardware, e.g., the
    ThinkPad embedded controller used by the soon-to-be-submitted tp_smapi
    driver. This will also let us eliminate the long whitelist in the mainline
    hdaps driver (in a future patch).

    Signed-off-by: Shem Multinymous
    Cc: Bjorn Helgaas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Shem Multinymous
     
  • Replace kernel_thread() call in drivers/base/firmware_class.c with
    kthread_create() since kernel_thread() is deprecated in drivers.

    Signed-off-by: Sukadev Bhattiprolu
    Cc: Cedric Le Goater
    Cc: Serge E. Hallyn
    Cc: Dave Hansen
    Cc: Manuel Estrada Sainz
    Acked-by: Marcel Holtmann
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Sukadev Bhattiprolu
     
  • This patch adds support for keypad driver running on different TI
    OMAP(http://www.ti.com/omap) processor based boards like OSK, H2, H3, H4,
    Persuas and Nokia 770.

    Signed-off-by: Komal Shah
    Acked-by: Dmitry Torokhov
    Cc: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Komal Shah
     
  • Add Texas Instruments (TI) OMAP1/2 (http://www.ti.com/omap) based
    processors, like OMAP1610/1710/242x.

    [akpm@osdl.org: cleanups]
    Cc:
    Cc: "Komal Shah"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Komal Shah
     
  • Add smc91x support for TI OMAP2420 H4 EVM board.

    Cc:
    Cc: Greg KH
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Komal Shah
     
  • Change parameter names to match arguments of functions.

    Signed-off-by: Rolf Eike Beer
    Cc: Martin Waitz
    Cc: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rolf Eike Beer
     
  • Convert loop.c from the deprecated kernel_thread to kthread. This patch
    simplifies the code quite a bit and passes similar testing to the previous
    submission on both emulated x86 and s390.

    Changes since last submission:
    switched to using a rather simple loop based on
    wait_event_interruptible.

    Signed-off-by: Serge E. Hallyn
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Serge E. Hallyn
     
  • Make the next48xx LED code use scx200_gpio_ops instead of raw SCx200 GPIO
    accesses.

    Signed-off-by: Chris Boot
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Chris Boot
     
  • Use EXPORT_SYMBOL_GPL for new symbols, and declare the struct in the header
    file for access by other modules.

    Signed-off-by: Chris Boot
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Chris Boot
     
  • drivers/char/pc8736x_gpio.c:192: warning: #pc8736x_gpio_set_high# defined but not used
    drivers/char/pc8736x_gpio.c:197: warning: #pc8736x_gpio_set_low# defined but not used

    Signed-off-by: Adrian Bunk
    Acked-by: Jim Cromie
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • This patch makes a needlessly global variable static.

    Signed-off-by: Adrian Bunk
    Signed-off-by: Jim Cromie
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jim Cromie
     
  • Signed-off-by: Steven Rostedt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Steven Rostedt
     
  • The uninitialised pmu_backlight_lock causes the current Fedora test kernel
    (which has spinlock debugging enabled) to panic on suspend.

    This is suboptimal, so I fixed it.

    Signed-off-by: David Woodhouse
    Acked-by: Benjamin Herrenschmidt
    Acked-by: Michael Hanselmann
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Woodhouse
     

29 Sep, 2006

19 commits