- 03 Dec, 2002 1 commit
-
-
Patrick Mochel authored
- Make sure devices are added to an interface if the interface is registered e.g. as a module. - Make sure interface data descriptors are inserted into the interface's list by adding a kobject to them and calling kobject_register. - Create interface_remove_data() for explicit removal of data descriptor. - Break common pieces into separate functions. - Add lots of comments. - Add class_list to struct device, so we can access the devices registered with the class.
-
- 02 Dec, 2002 19 commits
-
-
Patrick Mochel authored
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-core
-
Patrick Mochel authored
Since the device subsystem contains a global list of registered objects, we don't need to keep our own separate list, so we axe it. This also results in a savings of sizeof(void *) x 2 in the size of each device. drivers/base/power.c is updated to take the subsystem's rwsem and iterate over that list of objects. This leaves only the children list of struct device protected by the driver model semaphore. This could be removed, but there is one user of it (EDD), so it can't happen yet. This patch also removes the driver model spinlock, which isn't used anymore.
-
Patrick Mochel authored
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-core
-
Andries E. Brouwer authored
-
Matthew Wilcox authored
This converts the PA-RISC PS/2 keyboard & mouse driver to the input layer. New driver written by Laurent Canet & Thibaut Varene.
-
Jochen Hein authored
Fix the documentation to match the code fix.
-
Petr Vandrovec authored
"static structi2c_clientclient_template" works much better when spaces are added at appropriate places.
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
David S. Miller authored
-
David S. Miller authored
-
Pavel Machek authored
Without this, time runs 50x too slow after resume, since nothing knows to tell the timer to re-initialize.
-
Anton Blanchard authored
Here are a few fixes I needed when porting oprofile to ppc64: - __PAGE_OFFSET isnt defined for all architectures, use PAGE_OFFSET instead - include linux/cache.h everywhere we use ____cacheline_aligned etc. Otherwise we end up with a structure called ____cacheline_aligned and no alignment :(
-
Ingo Molnar authored
This changes sys_getppid() to be more POSIX-threading conformant. sys_getppid() needs to return the PID of the "process' parent" (ie. the tgid of the parent thread), not the thread parent's PID. The patch has no effect on non-CLONE_THREAD users, for them current->group_leader == current. The effect on CLONE_THREAD threads is that getppid() does not return any PID within the thread group anymore. Plus if a threaded application starts up a (non-thread) child then the child sees the process PID of the parent process, not the thread PID of the parent thread. in theory we could introduce the getttid() variant to get to the TID of the parent thread, but i doubt it would be of any use. (and we can add it if the need arises.) The lockless algorithm is still safe because the ->group_leader pointer never changes asynchronously. (the ->real_parent pointer might still change asynchronously so the SMP checks are still needed.) I've also updated the comments (they referenced the nonexistent p_ooptr field.), plus i've changed the mb() to rmb() - we need to order the reads, we dont do any global writes that need some predictable ordering.
-
bk://linuxusb.bkbits.net/pci_hp-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Matthew Wilcox authored
This removes the include of (the now empty) Rules.make, gets rid of the ifndef clause and fixes the indentation.
-
Ingo Molnar authored
This fixes threaded coredumps and streamlines the code. The old code caused crashes and hung coredumps. The new code has been tested for some time already and appears to be robust. Changes: - the code now uses completions instead of a semaphore and a waitqueue, attached to mm_struct: /* coredumping support */ int core_waiters; struct completion *core_startup_done, core_done; - extended the completion concept with a 'complete all' call - all pending threads are woken up in that case. - core_waiters is a plain integer now - it's always accessed from under the mmap_sem. It's also used as the fastpath-check in the sys_exit() path, instead of ->dumpable (which was incorrect). - got rid of the ->core_waiter task flag - it's not needed anymore.
-
Stelian Pop authored
Update Stelian Pop's contact information in CREDITS and MAINTAINERS.
-
Stelian Pop authored
This corrects a small typo in the previous patch (in the ZOOM button definition) and adds events generated by the Memory Stick reader on VAIO U3 laptops (thanks to Kunihiko IMAI).
-
- 01 Dec, 2002 20 commits
-
-
Christoph Hellwig authored
into hera.kernel.org:/home/hch/BK/xfs/linux-2.5
-
David S. Miller authored
-
Rob Radez authored
-
Patrick Mochel authored
kobject_register() has the rude behavior that it will attempt to clean up the kobject if kobject_add() fails. This replaces that with a WARN_ON() for the return value, and leaves the cleanup to the caller.
-
Patrick Mochel authored
This replaces the bus iterators bus_for_each_dev() and bus_for_each_drv(). Though no one in the kernel was using these, the MCA bus updates that are about to appear depend on them. They both now take a start pointer, which is the item to begin walking the list from, if it is not NULL.
-
Patrick Mochel authored
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-core
-
David S. Miller authored
-
David S. Miller authored
-
Rob Radez authored
-
David S. Miller authored
-
Rob Radez authored
-
Rob Radez authored
-
Rob Radez authored
-
David S. Miller authored
-
David S. Miller authored
-
Patrick Mochel authored
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-core
-
David S. Miller authored
into nuts.ninka.net:/home/davem/src/BK/sparc-2.5
-
David S. Miller authored
-
Greg Kroah-Hartman authored
into kroah.com:/home/linux/linux/BK/pci_hp-2.5
-
Greg Kroah-Hartman authored
into kroah.com:/home/linux/linux/BK/gregkh-2.5
-