- 09 Jun, 2002 5 commits
-
-
Russell King authored
Since namespace.h needs the contents of dcache, task struct and semaphores, it seems sensible to include these two files into namespace.h. For the future: If the task_struct in sched.h is split into its own include file, namespace.h could include this file, but namespace.h will also need asm/semaphore.h
-
Martin Dalecki authored
Since I have been looking in to the lcoking issues recently the following rather trivial gabrage code collection became obvious... - Remove "not yet used" code from 1995 in asm/locks.h. It's garbage. - Remove useless DEBUG_SPINLOCK code from generic spinlock.h code. Just compiling for SMP does the trick already. - Replace all usages of SPINLOCK_DEBUG with the now global CONFIG_DEBUG_SPINLOCK.
-
Martin Dalecki authored
Most importantly this makes ide-scsi work again, which I broke IDE 85. And we are starting to be serious about locking issues. However the locking issues will take some patches until they stabilize. - Add spin locks in ata_special_intr. - Add Server Works CSB6 handling by Matt Domsch. - Atari updates by Geert Uytterhoeven: * irq_lock is used in more than one file, so make it global and rename it to ide_irq_lock * `hwgroup' is dead, use `channel' instead * ide_irq_lock depends on ATA_ARCH_LOCK, not on m68k or APUS - Small janitorial tidbits by Angus Sawyer. - PIIX driver updates by Vojtech Pavlik: * Removes the CONFIG_BLK_DEV_PIIX_TRY133 option. I've got an official statement from Intel saying that the controller definitely isn't intended to operate at this speed and doing so may cause severe trouble. * Fixes a bug in ata-timing.c, where EIDE timing data was discarded by accident. * Fixed a couple bugs in the Artop driver (UDMA clocks, active/recovery timing), 8-bit timing merging. * Removes an unused variable from piix.c - Move locking out from ide_set_handler(). There are places where it incurred too frequent lock grab and release or where we did miss to lock against concurrent hardware access. Generally the locking appears to be too fine grained and inconsistent at many places. This is the first cut. We will deal with it step by step. - Make sure message string is initialized even if FANCY_STATUS_DUMPS is disabled. - Don't lock directly inside udma_init and implementations of this method. - Guard against REQ_SPECIAL issued by the SCSI layer on us. Use REQ_PC in ide-scsi.c instead.
-
Linus Torvalds authored
-
Mitchell Blank Jr. authored
This fixes a large batch of warnings that popped up with the new stricter bitops.h that recently was introduced. We actually didn't have 64-bit bug, but we had built our own *_flags_t typedef's that were just struct wrappers around an unsigned long. We used to pass their addresses directly to set_bit() and friends but now that causes an error. The typedef's really didn't serve much purpose so the cleanest fix is to just eliminate them and use "unsigned long" directly.
-
- 08 Jun, 2002 30 commits
-
-
Linus Torvalds authored
-
Linus Torvalds authored
-
Linus Torvalds authored
-
Trond Myklebust authored
fs/nfs/dir.c: - Call nfs_renew_times() when we deliberately create a negative dentry. or rename a file.
-
Trond Myklebust authored
fs/nfs/inode.c: - Ensure that we initialize NFS_MTIME_UPDATE(inode). - If a directory's mtime changed due to some action on our part (file creation/deletion/...) don't force a dcache revalidation by changing NFS_MTIME_UPDATE(inode).
-
Linus Torvalds authored
-
Martin Schwidefsky authored
Fourth and last part of the s/390 update. Docu stuff.
-
Martin Schwidefsky authored
Third patch of the s/390 update. Everything from drivers/s390. This patch contains the main bunch of changes. Major changes are: 1) the restructured dasd driver, 2) the new tape driver, 3) the start of the common io layer rework, 4) the gpl'ed lcs driver and 5) the gpl'ed qdio layer
-
Martin Schwidefsky authored
Second patch of the s/390 update. Contains all the include file changes in include/asm-{s390,s390x}.
-
Martin Schwidefsky authored
This first patch contains the changes to arch/{s390,s390x}
-
Brian Gerst authored
resume_kernel uses CPU_IDX but never uses GET_CPU_IDX to get the index. This is an issue when smp and preemption are both enabled. I also removed the unused GET_CURRENT_CPU_IDX.
-
Petr Vandrovec authored
James introduced bad bug which causes NULL pointer dereference as soon as you'll try to use secondary head because of screen_base is not initialized (it is initialized on wrong head).
-
http://jfs.bkbits.net/linux-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Robert Love authored
Mike Kravetz pointed out that the set_cpus_allowed optimization he suggested has a small but possible race condition wherein the system could still be operating in the context of the task but it is not running. On top of this, the runqueue lock can be dropped in load_balance and thus we can race and set task->cpu at a very unpleasant time. My solution is to just remove the optimization.
-
Robert Love authored
Apparently my understanding of C brace rules was blurred and there is a thinko in kernel/capability.c - what we want is what the indention reflects but what we get is an unconditional return of -EINVAL.
-
http://linux-isdn.bkbits.net/linux-2.5.isdnLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Matthew Wilcox authored
Define the for_each_lock macro and start replacing ugly special for loops with it. Rejig the interface between sys_flock and flock_lock_file to always pass a struct file_lock rather than a command. Eliminate some gotos by simplifying the logic. Remove some redundant initialisation.
-
Tom Rini authored
Fixes for include file cleanups
-
http://linux-isdn.bkbits.net/linux-2.5.makeLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Tom Rini authored
This removes <linux/mm.h> from <linux/vmalloc.h>. This then goes and fixes all of the files (x86 and PPC) which relied on implicit includes which don't happen anymore. This also takes <linux/kdev_t.h> out of fs/mpage.c and puts it into include/linux/bio.h where it belongs since <linux/bio.h> references 'kdev_t' directly. A quick summary of the of the added includes: arch/i386/kernel/microcode.c: needs extern for num_physpages, in linux/mm.h include/linux/spinlock.h: local_irq* is defined in <asm/system.h> but this was never directly included.
-
Tom Rini authored
This moves the vmalloc wrappers from <linux/vmalloc.h> into mm/vmalloc.c. Doing this will later allow us to remove <linux/mm.h> from <linux/vmalloc.h>, along with some other #include fixups.
-
Matthew Wilcox authored
This patch removes the MSNFS defines. These locks have a wider purpose than emulating Microsoft NFS semantics.
-
Matthew Wilcox authored
This patch removes the annoying and confusing `wait' argument from many places. The only change in behaviour is that we now yield once when unblocking other BSD-style flocks instead of once for each lock. This slightly improves the semantics for userspace. Before, when we had two tasks waiting on a lock, the first one would receive the lock. Now, the one with the highest priority receives the lock.
-
bk://ldm.bkbits.net/linux-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
http://fbdev.bkbits.net:8080/fbdev-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
bk://linuxusb.bkbits.net/linus-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Christopher Hoover authored
This adds SA-1111 support for ohci-hcd and fixes usb-ohci too.
-
Martin Devera authored
thanks to suggestions from David Brownell I modified pwc driver to compile and work under 2.5.18. Also it fixes mas ISO transfer sizes which could potentionaly affect older kernels too. With these changes it works - I'll test stability and post results later.
-
Simon Evans authored
This patch removes the use of urb->next in usbvideo.c and resubmits the URB in the completion handler.
-
Simon Evans authored
This patch removes the use of urb->next in konicawc.c and resubmits the URB in the completion handler.
-
- 07 Jun, 2002 5 commits
-
-
Dave Kleikamp authored
-
Dave Kleikamp authored
He has added significant content to these files.
-
Dave Kleikamp authored
The code in xtLog assumes that the structures xdlistlock_t and maplock_t are the same size, as they are overlaid. On 64-bit machines, this was not the case. Ensure that the xdlistlock_t is 16 bytes in length regardless of the size of a pointer.
-
Greg Kroah-Hartman authored
Thanks to Andrey Panin <pazke@orbita1.ru> for pointing these out to me.
-
Greg Kroah-Hartman authored
-