| Age | Commit message (Collapse) | Author |
|
Rusty Russell <rusty@rustcorp.com.au>
MODULE_PARM conversions for x86 `allyesconfig'.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Character devices converted to use the new lock initializers.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
There's no reason to directly #include <asm/bitops.h> since it's
available on all architectures and also included by
#include <linux/bitops.h>.
This patch changes #include <asm/bitops.h> to #include <linux/bitops.h>.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
Assorted pointer-to-int fixes:
a) some places want to take pointer modulo alignment or extract
integer that was cast to pointer (which is legitimate), but do that via
wrong cast, triggering sparse warnings.
b) usual %x (int)ptr -> %p ptr fixes
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
it could be split (all chunks are obviously independent), but I don't think
that it's worth doing.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
A lot of places assumed that size_t == unsigned; on 64bit boxen that is not
true.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
|
|
|
|
From: Christoph Hellwig <hch@lst.de>
Someone blindly added sysfs support to the driver long time ago without
understanding the implications (and if they were understood the driver
would need half a rewrite for it). Herber Xu recently noticed the problems
this causes on unload, so let's if 0 out all that code and get the driver
working again.
|
|
This cleans up a larger amount of superfluos ";;" statements in current
Linux kernel sources by converting them to the regular single ";"
statments.
It seems to be a common problem that at the end of a line the semicolon
key is producing an echo.
|
|
From: Manfred Spraul <manfred@colorfullife.com>
The mwave driver uses a user space daemon for some modem operations. The
user space daemon calls ioctl(,IOCTL_MW_GET_IPC), and the driver returns
after an interrupt arrived. The actual wait used
interruptible_sleep_on(), which can lead to lost wakeups. A local
spinlock on the stack is used to close that race, but this is broken on
SMP, perhaps even with preempt.
The attached patch fixes that by switching to the normal
add_wait_queue/test_if_race_occured/schedule/remove_wait_queue sequence.
|
|
From: Randy Hron <rwhron@earthlink.net>
remove unneeded linux/version.h usage & some duplicate
#includes;
|
|
|
|
From: Michael Buesch <fsdeveloper@yahoo.de> and Paul Schroeder.
mwavedd.h needs <linux/wait.h> and smapi.h
|
|
From: Paul B Schroeder <paulsch@haywired.net>
The following patch simply moves the 'nr_registered_attrs' and
'device_registered' variables in mwavedd.c into the MWAVE_DEVICE_DATA struct
which is defined in mwavedd.h..
|
|
Fix up a bunch of char drivers for the new IRQ API.
|
|
The mwave driver oopses if you do not have the hardware installed. It is
running device_unregister() and device_remove_file() against things whch were
never created.
|
|
Also add warning about a broken spinlock/sleep someone still has to fix
|
|
dont -> don't (135 occurrences)
|
|
This patch provides the following spelling fix.
interupt -> interrupt
|
|
|
|
Makefiles no longer need to include Rules.make, which is currently an
empty file. This patch removes it from the drivers tree Makefiles.
|
|
- example in Documentation/DocBook/procfs_example.c uses
MOD_..._USE_COUNT for no reason.
- alpha/kernel/srm_env.c uses MOD_...USE_COUNT for no reason _and_ does
lovely stuff like strlen() on user-supplied pointers,
copy_from_user() with unverified size, half-kilobyte on-stack arrays,
etc. Fixed.
- s390{,x}/kernel/debug.c: set ->owner instead of playing with
MOD_..._USE_COUNT in ->open()/->release()
- mwavedd.c: gratitious use of MOD_..._USE_COUNT
- uinput.c: ditto
- radio/miropcm20-rds.c: set ->owner, remove MOD_..._USE_COUNT from
->open()/->release(), fixed an obvious race in the former (it checked
that nobody else had device opened, then did kmalloc() with
GFP_KERNEL, then marked device as opened).
|
|
request_irq/free_irq are now in linux/interrupt.h
|
|
(plus a bit of rearranging in the ISDN Makefiles)
|
|
|
|
A forward-port of all the .text.exit fixes which went into
2.4. Also contains a couple of s/MINOR/minor/ changes.
|
|
- David Howells: abtract out "current->need_resched" as "need_resched()"
- Frank Davis: ide-tape update for bio
- various: header file fixups
- Jens Axboe: fix up bio/ide/highmem issues
- Kai Germaschewski: ISDN update
- Tim Waugh: parport update
- Patrik Mochel: initcall update
- Greg KH: USB and Compaq PCI hotplug updates
|
|
- Kai Germaschewski: ISDN updates
- Al Viro: start moving buffer cache indexing to "struct block_device *"
- Greg KH: USB update
- Russell King: fix up some ARM merge issues
- Ingo Molnar: scalable scheduler
|
|
- Trond Myklebust: deadlock checking in lockd server
- Tim Waugh: fix up parport wrong #define
- Christoph Hellwig: i2c update, ext2 cleanup
- Al Viro: fix partition handling sanity check.
- Trond Myklebust: make NFS use SLAB_NOFS, and not play games with PF_MEMALLOC
- Ben Fennema: UDF update
- Alan Cox: continued merging
- Chris Mason: get /proc buffer memory sizes right after buf-in-page-cache
|
|
- me/Al Viro: fix bdget() oops with block device modules that don't
clean up after they exit
- Alan Cox: continued merging (drivers, license tags)
- David Miller: sparc update, network fixes
- Christoph Hellwig: work around broken drivers that add a gendisk more
than once
- Jakub Jelinek: handle more ELF loading special cases
- Trond Myklebust: NFS client and lockd reclaimer cleanups/fixes
- Greg KH: USB updates
- Mikael Pettersson: sparate out local APIC / IO-APIC config options
|