- 12 Mar, 2002 20 commits
-
-
Gerd Knorr authored
This patch fixes the build failure of the miro radio driver due to the new location of the sound drivers in the tree (alsa merge).
-
Gerd Knorr authored
This patch updates/fixes the video4linux API documantation. The current description for mmap() based capture is unclear and somewhat misleading.
-
Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
David Woodhouse authored
- Preliminary version of NAND flash support. - Locking documentation and fixes (including BKL removal because it's superfluous). - Performance improvements - especially for mount time. - Annoying stuff like i_nlink on directories fixed. - Portability cleanups.
-
Brian Gerst authored
Seperates cramfs_sb_info from struct super_block.
-
Stephen Rothwell authored
Number 7. This patch contains four cleanup changes whose aim is better code self-documentation (the best way to document IMHO). They are sent together because they overlap. 1. Rename the variable "sys_idle" to 'original_pm_idle'. This is where we store the value that we find in pm_idle before we substitute the address of our own apm_cpu_idle() function. In principle we have no idea whose address this is, so the variable name shouldn't imply that we know that this is the address of a system idle function; it should simply indicate that it is the original value of pm_idle. 2. Variable "apm_is_idle" is renamed 'apm_idle_done'. This flag indicates when apm_do_idle() has been called. It is a premise of apm_cpu_idle()'s operation that it is not known whether the apm_do_idle() function really idles the CPU. The name of the flag should not lead one to believe otherwise. 3. Variable "t1" is renamed 'bucket'. The variable is not a time but a countdown ("bucket"), so the variable name should not lead one to believe it is some sort of time value. 4. A default: case is added to the switch in order to remind the reader that there is a third possible return value from apm_do_idle().
-
Stephen Rothwell authored
Number 6 This patch cleans up the way the ALWAYS_CALL_BUSY macro forces calling of the APM BIOS busy routine. Instead of storing a false value in clock_slowed, we disjoin clock_slowed with the value of ALWAYS_CALL_BUSY. This simplifies the code.
-
Stephen Rothwell authored
Number 5 from Thomas Hood This patch renames the static function "apm_set_power_state" to 'set_system_power_state'. Generally, the prefix 'apm_' is required to prevent external name collisions on exported functions. This is a static function, so the prefix isn't required for that purpose. The prefix might also indicate that this function has something particularly to do with the apm subsystem; but that's not the case here. This function is simply a wrapper for set_power_state(), inserting the argument which sets the power state for the whole system. My main motivation for wanting to change this name is clearly to indicate the difference between this function and set_power_state(). Also, I would like to export set_power_state() someday in the future, but this is a separate issue.
-
Stephen Rothwell authored
This is number four and actually fixes a bug. This patch moves the setting of the ignore_normal_resume flag prior to the sti(); otherwise BIOS-generated normal resume events slip through unignored.
-
Stephen Rothwell authored
Here is the third one. This patch moves the apm_error() function higher in the file so that it is adjacent to the error_table that it uses. This makes the code easier to read. The beginning of the file is an appropriate place for "utility" functions of this kind. This is a pure move, with no changes made to the function.
-
Stephen Rothwell authored
Second in a series of patches from Thomas Hood. This patch eliminates the 0 initializers on three static variables inside the apm_cpu_idle function. These initializers are superfluous. The initializers are replaced with comments whose purpose is to indicate that the code relies upon the fact that these variables are initialized to zero at load time.
-
Stephen Rothwell authored
This is the first of a series of patches I have got from Thomas Hood that modify the apm code mainly for better self documentation. This one does: Variable "waiting_for_resume" is renamed 'ignore_sys_suspend'. The reason for the change is that this flag variable is employed in a manner analogous to that of other flag variables named 'ignore ...'. When the flag is set, the driver needs to ignore further system suspends. The driver does not "wait" in the usual sense of that word. The only sense in which the driver waits is the sense in which it needs to continue to ignore system suspends until certain events occur. One such event is a resume. However, another such event is the vetoing of the suspend request by a driver. So it would be more accurate to call the flag 'waiting_for_resume_or_suspend_reject' or something like that. But for the reason mentioned first, an even better name is 'ignore_sys_suspend'.
-
Alexander Viro authored
kill_super() and deactivate_super() merged. Next step will be to export these suckers - after that we will be finally done with infrastructure for filesystems with nontrivial ->get_sb().
-
Alexander Viro authored
New helper - sget(). get_sb_bdev() and get_anon_super() switched to using it. Basically, it's get_anon_super() done right (and get_anon_super() itself will probably die).
-
John Clemens authored
Last week I sent you a patch adding a config option to honor the pirq mask in the PCI routing table. On your suggestion, Cory Bell made it a command line option using the pci= interface and we both agree with you, it's -much- cleaner this way. Patch against 2.5.6 (Cory's submitting for 2.4, I've tested and submitting towards 2.5). All credit goes to Cory Bell, with only minor input and testing from myself.
-
Stephen Rothwell authored
This adds DMI recognition for anohter broken Dell laptop BIOS (BIOS version A12 on the Insiron 2500). Reported by Mihnea-Costin Grigore <mgc8@totalnet.ro>.
-
Brian Gerst authored
Switch to using kmalloc to allocate the minix superblock structure.
-
Brian Gerst authored
Start of cleaning up the union of filesystem-specific structures in struct super_block. The goal is to remove dependence on filesystem headers in fs.h. This patch abstracts the access to the minix_sb_info structure through the function minix_sb().
-
Stephen Rothwell authored
The following patch makes directory notifications per thread group instead of per process tree as they are now. This means, in particular, that if a child closes a file descriptor that has a directory open with notifies enabled, the notification will not be removed. Thanks to Andrea for the push in the right direction.
-
Neil Brown authored
Support fsid=<number> export option to be device number independent This patch was largely supplied by Steven Whitehouse <steve@gw.chygwyn.com> A new export option "NFSEXP_FSID" indicates that the ex_dev passed down is a user specified number, not a device number. It should be used in fsid_type==1 filehandles to identify the the exportpoint rather than the devid and inode (as in fsid_type == 0). This allows filehandles to be device-number independent so that when Linux changes device numbers on you (after reboot), your filesystems wont go stale. User-space support for this is in the nfs-utils CVS and will be in the next release (any release > 1.0).
-
- 11 Mar, 2002 1 commit
-
-
- 12 Mar, 2002 2 commits
-
-
Russell King authored
-
Russell King authored
-
- 11 Mar, 2002 17 commits
-
-
Russell King authored
-
Russell King authored
-
Russell King authored
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Alexander Viro authored
Grr... When loop in get_sb_bdev() had been switched from global list of superblock to per-type one, we should have switched from sb_entry(p) (aka. list_entry(p, struct super_block, s_list)) to list_entry(p, struct super_block, s_instances). As it is, we end up with false negatives all the time. I.e. second mount from the same block device with the same type gices a new superblock. With obvious nasty results... This fixes that.
-
Alexander Viro authored
bdev filesystems switched. Changes documented in Locking and porting.
-
Alexander Viro authored
The rest of nodev filesystems switched.
-
Alexander Viro authored
FS_LITTER filesystems (ramfs-like) switched to use of ->kill_sb(). FS_LITTER is gone.
-
Alexander Viro authored
New method - ->kill_sb(). It will eventually replace current fs/super.c::shutdown_super() - i.e. it's called when fs driver must shut the superblock down, remove it from all lists, etc.
-
Neil Brown authored
Fix a few kNFSd problems. 1/ export svc_reserve which was introduced for NFS/TCP support. Without this we cannot load nfsd.o as a module 2/ the hash chain of clients was being changed (to put the found entry at the top of the list) while we only had a read-lock. This could corrupt the list and cause big problems. For now, just disable this code. Might add a lock later... 3/ lockd was calling exp_getclient without getting a readlock on the export table first. 4/ Add Config.help entry for CONFIG_NFSD_TCP
-
Andrew Morton authored
If you create a shared mapping of a sparse file, dirty it and then run msync, all the file's blocks are laid out backwards. This is because filemap_sync puts the lowest-index page at mapping->dirty_pages.prev and the highest at mapping->dirty_pages.next. I think that by walking the dirty pages list in ascending file offset order as we instantiate their disk mappings we will generally get better layout.
-
bk://lia64.bkbits.net/to-linus-2.5Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Alan Cox authored
Fix rlimit on accounting file.
-
Bob Miller authored
While looking at the bug fix for part 1 I coded up this patch to change the BSD accounting code to use a spinlock instead of the BKL.
-
Bob Miller authored
Below is a patch to remove a small race in kernel/acct.c.
-
Vojtech Pavlik authored
This patch replaces the current AMD IDE driver (by Andre Hedrick) by mine. Myself I think my implementation is much cleaner, but I'll leave upon others to judge that. My driver also additionally supports the AMD-8111 IDE. It's well tested, and I'd like to have this in the kernel instead of what's there now.
-
bk://bcrlbits.bkbits.net/linux-2.5Linus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-