- 21 Feb, 2003 24 commits
-
-
Kai Germaschewski authored
This just moves a bit of logic out of prepare_namespace() into initrd_load(), which means that we now don't reference handle_initrd() anymore if CONFIG_BLK_DEV_INITRD is not set (we wouldn't call it anyway), so we can put some bits of code under a common #ifdef CONFIG_BLK_DEV_INITRD.
-
Kai Germaschewski authored
When CONFIG_BLK_DEV_INITRD is not set, mount_initrd will always be 0, so initrd_load() won't be called. However, we need a stub to make the compiler happy.
-
Kai Germaschewski authored
If initrd_start is 0, initrd_load() -> rd_load_image() -> open("dev/initrd") will fail anyway, so no need for the explicit check here.
-
Kai Germaschewski authored
As we all know, strncmp() returns 0 for match... Obviously nobody uses this codepath since it never worked, but let's fix it anyway.
-
Kai Germaschewski authored
Again, just get rid of some #ifdefs by moving MD setup into its own file which is only compiled when CONFIG_BLK_DEV_MD is set.
-
Kai Germaschewski authored
o prepare_namespace() is called before free_initmem(), so it can be __init. o all static data in do_mounts.c can be __initdata for the same reason. o move the __init into its standard location between return value and function name. o root_device_name can be a char *.
-
Kai Germaschewski authored
Get rid of a couple scattered #ifdef CONFIG_DEVFS_FS in init/do_mounts.c by moving the devfs code into its own file and using stubs when it's not selected.
-
Brian Gerst authored
Changes in the config system have obsoleted these files.
-
Brian Gerst authored
Moves the #ifdef into the function to improve readability.
-
bk://linux-bt.bkbits.net/bt-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Brian Gerst authored
Use list_for_each_entry() instead of open code.
-
Brian Gerst authored
Convert fs/bio.c and fs/jfs/jfs_metapage.c to use the mempool_alloc_slab and mempool_free_slab helper functions.
-
Andrew Morton authored
fix two tpyos
-
bk://kernel.bkbits.net/gregkh/linux/pci-2.5Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
bk://linux-pnp.bkbits.net/linus-2.5Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
bk://ppc.bkbits.net/for-linus-ppcLinus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Paul Mackerras authored
into samba.org:/home/paulus/kernel/for-linus-ppc
-
Stelian Pop authored
This makes use of 'check_gcc' facility when compiling for a Crusoe processor in order to choose the correct -falign or -malign compiler flags.
-
Stelian Pop authored
This adds suspend/resume capabilities to the meye driver.
-
Stelian Pop authored
This makes the sonypi driver forward the VAIO jog-dial events directly to the input subsystem as mouse wheel events. This way one is not required anymore to have an external daemon polling /dev/sonypi if interested only in jogdial events.
-
Christoph Hellwig authored
-
Christoph Hellwig authored
In most cases the fix is to add an struct module * member to the operations vector instead and manipulate the refcounts in the callers context. For the ALSA cases it was completly superflous (when will people get it that using an exported symbol will make it's module unloadable?..)
-
Linus Torvalds authored
since we now properly reference-count the allocations and thus can't be freeing the thread structures from underneath the task running on another CPU. Move "free_uid(p->user)" and "security_task_free()" to __put_task_struct(), so that we're guaranteed to always have a user structure pointer.
-
Pamela Delaney authored
Please accept this large patch against 2.5.62bk4 to update the Fusion-MPT driver from 2.03.01.01 to 2.05.00.03. This version contains full 2.5 kernel support (add, configuration & removal of disks, new module hooks), performance enhancements, removal of obsolete code that is 2.4 (or earlier) specific and removal of blank spaces at end of lines. Tested overnight on 2.5.62bk3 and ran some tests against bk4 this morning on both machines. Things appear to be fine - have not tested the two failure conditions today. The driver has been tested on two different platforms: - P4 4-processor o boot controller o built into kernel o disk add, configure, remove o bus, target reset o device offline cases o cross channel I/O stress tests w/ Fibre and SCSI - Athlon uniprocessor, IDE boot o Ran a test that repeatedly loads the driver, mounts disks, runs a short I/O test (20mins) then unload the driver components in a different order Failures: o Unable to boot if boot controller is built as a module - pivot_root fails (Happens if IDE or SCSI boot) o Problems when formatting large SCSI disks. On P4 w/ 2.5.60, there were no difficulties formatting a 36GB disk. On Athlon, mkfs.ext2 would never send a write command to the driver (verified w/ SCSI trace and driver debug). Reads completed successfully. mkfs.ext2 would not exit and is shown as a running process. Smaller partitions were formatted correctly. W/ 2.5.62 failures on P4 and Athlon. Same error with other drivers. 100% reproducible.
-
- 20 Feb, 2003 15 commits
-
-
Paul Mackerras authored
into samba.org:/home/paulus/kernel/for-linus-ppc
-
Linus Torvalds authored
-
Linus Torvalds authored
which is needed to keep track of process usage counts correctly and efficiently.
-
Paul Mackerras authored
-
Paul Mackerras authored
-
Paul Mackerras authored
-
Greg Kroah-Hartman authored
-
Louis Zhuang authored
Cleans up the list handling in a few places within the pci core.
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
Dave Hansen authored
Bill Irwin was talking about hw_interrupt_type.set_affinity and kirq. When I went looking, I failed to find this initialization. Here are some nice, easy-to-find, named initializers.
-
Andrew Morton authored
We're calling mmdrop() under spin_lock_irq(&rq->lock). But mmdrop calls vfree(), which calls smp_call_function(). It is not legal to call smp_call_function() with irq's off. Because another CPU may be running smp_call_function() against _this_ CPU, which deadlocks. So the patch arranges for mmdrop() to not be called under spin_lock_irq(&rq->lock).
-
Andrew Morton authored
We are leaving local interrupts disabled coming out of exit_notify(). But we are about to call wait_task_inactive() which spins, waiting for another CPU to end a task. If that CPU has issued smp_call_function() to this CPU, deadlock. So the patch enables interrupts again before returning from exit_notify(). Also, exit_notify() returns with preemption disabled, so there is no need to perform another preempt_disable() in do_exit().
-
John Levon authored
Manifested as X profile appearing as /dev/mem ...
-
- 19 Feb, 2003 1 commit
-
-
Adam Belay authored
-