1. 04 Mar, 2003 1 commit
  2. 03 Mar, 2003 10 commits
    • Patrick Mochel's avatar
      sysfs: fix more merge breakage. · fb0e76c5
      Patrick Mochel authored
      fb0e76c5
    • Patrick Mochel's avatar
      sysfs: fixup merge · 004ced81
      Patrick Mochel authored
      004ced81
    • Patrick Mochel's avatar
      cpufreq: convert to use new interface code. · 29b21c55
      Patrick Mochel authored
      - Create and register kobjects when adding a cpu to the cpufreq interface,
        instead of the terminally broken struct intf_data.
      
      ACKed by Dominik Brodowski.
      29b21c55
    • Patrick Mochel's avatar
      Merge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin · 27d2d64c
      Patrick Mochel authored
      into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-core
      27d2d64c
    • Patrick Mochel's avatar
      driver model: fix device interfaces. · 2e646ed0
      Patrick Mochel authored
      - Remove struct intf_data. 
        It was silly, and gave us an unbalanced interface. 
        Instead, when removing a device_interface, all of a class's devices are
        iterated over, and intf->remove_device() is called for each. (Instead 
        of the device's list of interfaces it belongs to). 
        Interfaces are expected to tell if they support the device being removed.
      
      - Remove struct device::intf_list.
      
      - Protect classes' device list access with devclass_sem, which is taken 
        when a device or interface is added or removed. This allows access to the
        list w/o taking the class's lock, which allows subordinate objects to be
        registered (e.g. the interface itself, or objects the interfaces create
        for a device). 
      
      - This should fix a deadlock when devices are added to interfaces, which 
        calls intf->add_device(), then interface_add_data(), which call 
        kobject_register() and hangs, since it tries to take the class's lock
        again. 
      2e646ed0
    • Patrick Mochel's avatar
      kobject: fix oops in to_kset() · ad5429c7
      Patrick Mochel authored
      Check whether kset is NULL or not before doing container_of().
      
      From Dominik Brodowski
      ad5429c7
    • Patrick Mochel's avatar
      driver model: remove <linux/sched.h> from include/linux/device.h · 75afd0da
      Patrick Mochel authored
      From Matt Wilcox
      75afd0da
    • Patrick Mochel's avatar
      sysfs: fix oops in directory removal. · 2201a815
      Patrick Mochel authored
      If a file that doesn't exist was looked up in a directory, and that
      directory is later removed, sysfs would reap the negative dentrys along 
      with the valid ones.
      
      Fix is to manually remove the dentrys from the parent's list under the 
      dcache_lock, then check if they're valid with dget_locked(). 
      
      This ensures all the dentrys are removed, valid and invalid, and we don't 
      reap anything we shouldn't.
      2201a815
    • Steven Cole's avatar
      [PATCH] Spelling fixes from spell-fix.pl · 5d8a45ef
      Steven Cole authored
      This patch contains the first fruits of the automatic spell checking and
      correcting scripts written by Dan Kegel and Matthias Schniedermeyer.
      Those scripts are available here: http://www.kegel.com/kerspell/
      
      This patch fixes these six words from the first five lines of
      spell-fix.txt.  280 lines remaining.
      
        accesible   -> accessible
        accesing    -> accessing
        accomodate  -> accommodate
        acommodate  -> accommodate
        Acknowlege  -> Acknowledge
        acknoledged -> acknowledged
      5d8a45ef
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/net-2.5 · 3b007af5
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      3b007af5
  3. 02 Mar, 2003 29 commits