1. 02 Feb, 2008 14 commits
    • Dave Young's avatar
      driver core: convert to use class_find_device api · cd35449b
      Dave Young authored
      Convert to use class_find_device api in drivers/base/core.c
      Signed-off-by: default avatarDave Young <hidave.darkstar@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      
      cd35449b
    • Rafael J. Wysocki's avatar
      PM: Export device_pm_schedule_removal · 9617c3e4
      Rafael J. Wysocki authored
      Move the declaration of device_pm_schedule_removal() to device.h
      and make it exported, as it will be used directly by some drivers
      for unregistering device objects during suspend/resume cycles in a
      safe way.
      Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
      Acked-by: default avatarPavel Machek <pavel@ucw.cz>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      9617c3e4
    • Frank Seidel's avatar
      nozomi: finish constification · 18bbe0c2
      Frank Seidel authored
      Even some more constifications
      Signed-off-by: default avatarFrank Seidel <fseidel@suse.de>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      18bbe0c2
    • Jan Engelhardt's avatar
      nozomi: constify driver · 71e1b4ab
      Jan Engelhardt authored
      nozomi: constify structures and annotate vars
      Signed-off-by: default avatarJan Engelhardt <jengelh@computergmbh.de>
      Signed-off-by: default avatarFrank Seidel <fseidel@suse.de>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      71e1b4ab
    • Frank Seidel's avatar
      nozomi driver update · e9ed537a
      Frank Seidel authored
      Minor cleanups and removal of in-file changelog:
      
      - Correction of misspellings and wrong encoded Name
      - changed 'unsigned' to 'unsigned int' for better readability
      - use of generic devicefile access macro
      - fixed/added explanatory comment to ntty_put_char
      Signed-off-by: default avatarFrank Seidel <fseidel@suse.de>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      e9ed537a
    • Tsugikazu Shibata's avatar
      Add ja_JP translation of stable_kernel_rules.txt · 996a3eb8
      Tsugikazu Shibata authored
      Contents are reviewed by Japanese translation community called "JF".
      Thanks a lot!
      Singed-off-by: default avatarTsugikazu Shibata <tshibata@ab.jp.nec.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      996a3eb8
    • Dave Young's avatar
      kobject: kerneldoc comment fix · f70701a3
      Dave Young authored
      Fix kerneldoc comment of kobject_create.
      Signed-off-by: default avatarDave Young <hidave.darkstar@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      f70701a3
    • Paul Mundt's avatar
      kobject: Always build in kernel/ksysfs.o. · dfacd68e
      Paul Mundt authored
      kernel/ksysfs.c seems to be a random dumping group for misc globals
      that the rest of the tree depend on. This has caused problems with
      exports in the past when sysfs is disabled, which can already be
      observed in commit-id 51107301.
      
      The latest one is the kernel_kobj usage, which presently results in:
      
      fs/built-in.o: In function `debugfs_init':
      inode.c:(.init.text+0xc34): undefined reference to `kernel_kobj'
      make: *** [.tmp_vmlinux1] Error 1
      
      kernel/ksysfs.c itself at this point only contains globals and some
      basic sysfs initialization, the sysfs initialization code is optimized
      out when we build with sysfs disabled. Given that, it's easier to just
      build in unconditionally, rather than trying to find some other random
      place to dump and initialize the globals.
      
      Additionally, the current trend seems to be decoupling of kobjects from
      sysfs, in which case it still makes sense to perform the kernel_kobj
      initialization that happens here even if sysfs is disabled, as
      lib/kobject.o is built-in unconditionally.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      dfacd68e
    • Linus Torvalds's avatar
      Merge git://git.infradead.org/battery-2.6 · ae9458d6
      Linus Torvalds authored
      * git://git.infradead.org/battery-2.6:
        apm_power: check I.intval for zero value, we use it as the divisor
        MAINTAINERS: remove kernel-discuss@handhelds.org list
        pda_power: implement polling
        pda_power: various cleanups
        apm_power: support using VOLTAGE_* properties for apm calculations
        pda_power: add suspend/resume support
        power_supply: add few more values and props
        pda_power: only register available psu
        power: fix incorrect unregistration in power_supply_create_attrs error path
        power: remove POWER_SUPPLY_PROP_CAPACITY_LEVEL
        [BATTERY] power_supply_leds: use kasprintf
        [BATTERY] Every file should include the headers containing the prototypes for its global functions.
      ae9458d6
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://linux-nfs.org/~bfields/linux · 63e9b66e
      Linus Torvalds authored
      * 'for-linus' of git://linux-nfs.org/~bfields/linux: (100 commits)
        SUNRPC: RPC program information is stored in unsigned integers
        SUNRPC: Move exported symbol definitions after function declaration part 2
        NLM: tear down RPC clients in nlm_shutdown_hosts
        SUNRPC: spin svc_rqst initialization to its own function
        nfsd: more careful input validation in nfsctl write methods
        lockd: minor log message fix
        knfsd: don't bother mapping putrootfh enoent to eperm
        rdma: makefile
        rdma: ONCRPC RDMA protocol marshalling
        rdma: SVCRDMA sendto
        rdma: SVCRDMA recvfrom
        rdma: SVCRDMA Core Transport Services
        rdma: SVCRDMA Transport Module
        rdma: SVCRMDA Header File
        svc: Add svc_xprt_names service to replace svc_sock_names
        knfsd: Support adding transports by writing portlist file
        svc: Add svc API that queries for a transport instance
        svc: Add /proc/sys/sunrpc/transport files
        svc: Add transport hdr size for defer/revisit
        svc: Move the xprt independent code to the svc_xprt.c file
        ...
      63e9b66e
    • Linus Torvalds's avatar
      Merge branch 'suspend' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 · 687fcdf7
      Linus Torvalds authored
      * 'suspend' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (38 commits)
        suspend: cleanup reference to swsusp_pg_dir[]
        PM: Remove obsolete /sys/devices/.../power/state docs
        Hibernation: Invoke suspend notifications after console switch
        Suspend: Invoke suspend notifications after console switch
        Suspend: Clean up suspend_64.c
        Suspend: Add config option to disable the freezer if architecture wants that
        ACPI: Print message before calling _PTS
        ACPI hibernation: Call _PTS before suspending devices
        Hibernation: Introduce begin() and end() callbacks
        ACPI suspend: Call _PTS before suspending devices
        ACPI: Separate disabling of GPEs from _PTS
        ACPI: Separate invocations of _GTS and _BFS from _PTS and _WAK
        Suspend: Introduce begin() and end() callbacks
        suspend: fix ia64 allmodconfig build
        ACPI: clear GPE earily in resume to avoid warning
        Suspend: Clean up Kconfig (V2)
        Hibernation: Clean up Kconfig (V2)
        Hibernation: Update messages
        Suspend: Use common prefix in messages
        Hibernation: Remove unnecessary variable declaration
        ...
      687fcdf7
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/pci-2.6 · 215e871a
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/pci-2.6: (64 commits)
        PCI: make pci_bus a struct device
        PCI: fix codingstyle issues in include/linux/pci.h
        PCI: fix codingstyle issues in drivers/pci/pci.h
        PCI: PCIE ASPM support
        PCI: Fix fakephp deadlock
        PCI: modify SB700 SATA MSI quirk
        PCI: Run ACPI _OSC method on root bridges only
        PCI ACPI: AER driver should only register PCIe devices with _OSC
        PCI ACPI: Added a function to register _OSC with only PCIe devices.
        PCI: constify function pointer tables
        PCI: Convert drivers/pci/proc.c to use unlocked_ioctl
        pciehp: block new requests from the device before power off
        pciehp: workaround against Bad DLLP during power off
        pciehp: wait for 1000ms before LED operation after power off
        PCI: Remove pci_enable_device_bars() from documentation
        PCI: Remove pci_enable_device_bars()
        PCI: Remove users of pci_enable_device_bars()
        PCI: Add pci_enable_device_{io,mem} intefaces
        PCI: avoid save the same type of cap multiple times
        PCI: correctly initialize a structure for pcie_save_pcix_state()
        ...
      215e871a
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 · b6cf160c
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (128 commits)
        USB: fix codingstyle issues in drivers/usb/core/*.c
        USB: fix codingstyle issues in drivers/usb/core/message.c
        USB: fix codingstyle issues in drivers/usb/core/hcd-pci.c
        USB: fix codingstyle issues in drivers/usb/core/devio.c
        USB: fix codingstyle issues in drivers/usb/core/devices.c
        USB: fix codingstyle issues in drivers/usb/core/*.h
        USB: fix codingstyle issues in include/linux/usb/
        USB: fix codingstyle issues in include/linux/usb.h
        USB: mark USB drivers as being GPL only
        USB: use a real vendor and product id for root hubs
        USB: mount options: fix usbfs
        USB: Fix usb_serial_driver structure for Kobil cardreader driver.
        usb: ehci should use u16 for isochronous intervals
        usb: ehci, remove false clear-reset path
        USB: Use menuconfig objects
        usb: ohci-sm501 driver
        usb: dma bounce buffer support
        USB: last abuses of intfdata in close for usb-serial drivers
        USB: kl5kusb105 don't flush to logically disconnected devices
        USB: oti6858: cleanup
        ...
      b6cf160c
    • Peter Zijlstra's avatar
      debug: softlockup looping fix · ed50d6cb
      Peter Zijlstra authored
      Rafael J. Wysocki reported weird, multi-seconds delays during
      suspend/resume and bisected it back to:
      
        commit 82a1fcb9
        Author: Ingo Molnar <mingo@elte.hu>
        Date:   Fri Jan 25 21:08:02 2008 +0100
      
            softlockup: automatically detect hung TASK_UNINTERRUPTIBLE tasks
      
      fix it:
      
       - restore the old wakeup mechanism
       - fix break usage in do_each_thread() { } while_each_thread().
       - fix the hotplug switch stmt, a fall-through case was broken.
      Bisected-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
      Tested-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      Acked-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      ed50d6cb
  2. 01 Feb, 2008 26 commits