- 03 Jun, 2004 40 commits
-
-
Alexander Viro authored
es1370 annotated
-
Alexander Viro authored
es1371 annotated
-
Alexander Viro authored
cmpci annotated
-
Alexander Viro authored
cs4281 annotated
-
Alexander Viro authored
The rest of annotation for ALSA drivers; only OSS stuff left to do in sound/*
-
Alexander Viro authored
emu10k1 annotated.
-
Alexander Viro authored
Annotated driver and ioctl structure used by it.
-
Alexander Viro authored
Both ALSA and OSS variants
-
Alexander Viro authored
Both PCI and PCMCIA variants of driver annotated
-
Alexander Viro authored
sb annotation (both ALSA and OSS drivers)
-
Alexander Viro authored
Both ALSA and OSS drivers + wavefront ioctl structure annotated. NB: both should be switched to generic firmware loading - as it is, they are using a homegrown and rather ugly variant
-
Alexander Viro authored
-
Alexander Viro authored
GUS annotated.
-
Alexander Viro authored
The rest of sond/core annotated; reverted bogus addition of __user in snd_seq_kernel_client_ctl() - I should've guessed from the name alone ;-)
-
Alexander Viro authored
Annotated sound/drivers/opl*
-
Alexander Viro authored
The tricky part here was an iterator that used to take a callback and argument for that callback as parameters. Iterator itself didn't care what type that argument had been; it's entirely up to callback. The thing is, two callbacks expect (and get) char __user * while other two expect (and also get) char __user **. Iterator used to use void * as "opaque data"; I've switched it to unsigned long. Note that there was nothing that said "it's a pointer" - use of callback that would take e.g. int is also perfectly legitimate. The rest is triviali annotation.
-
Alexander Viro authored
Annotated method prototypes, commonly used ioctl-only structures and generic helpers. Instances of methods in drivers are _not_ annotated at that point - they will go with driver patches
-
Alexander Viro authored
Trivial parts of sound/core annotation.
-
Alexander Viro authored
copy_from_user() where copy_to_user() should've been. Unfortunately, on x86 they are almost identical, so it went unnoticed for quite a while.
-
Alexander Viro authored
msnd_pinnacle/msnd_classic do copy_{to,from}_user under a spinlock. Taken out of spinlock (into a temp. buffer). Calls of msnd_fifo_{read,write} always go from kernel buffer now, so we can drop the 'int user' argument in them _and_ simplify error handling - all errors were from copy_..._user() and now these are called directly by dsp_read()/dsp_write().
-
Alexander Viro authored
In some cases snd_sb_csp_load() did kmalloc() and copy_from_user() under a spinlock. Split into snd_sb_csp_load() and snd_sb_csp_load_user() - ther former always from kernel pointer, the latter - from userland. snd_sb_csp_load_user() doesn't take any locks itself, it just does kmalloc, copy_from_user and calls snd_sb_csp_load() to do the rest.
-
Andrew Morton authored
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
bk://bk.arm.linux.org.uk/linux-2.6-serialLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Ben Dooks authored
Patch from Ben Dooks Fix the minor number of the serial device to be the same as the configuration in the 2.4.x series kernels.
-
bk://bk.arm.linux.org.uk/linux-2.6-pcmciaLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Ian Campbell authored
Patch from Ian Campbell Rediffed against latest BK. Compiles on Assabet and my PXA255 platform. Tested on my 255 platform.
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Nicolas Pitre authored
Patch from Nicolas Pitre Don't include them from hardware.h
-
Russell King authored
Since asm/arch/hardware.h is included (indirectly) by most kernel files, we don't want all these files depending on the individual machine support files, especially as only five files really require the header. Instead, explicitly include lubbock.h into files as necessary.
-
Tony Lindgren authored
Patch from Tony Lindgren Update the IO register names in entry-armv.S
-
Paul Mackerras authored
When I moved the exports into arch/ppc/lib/locks.c, I forgot to include module.h, so it doesn't compile (with CONFIG_SMP + CONFIG_SPINLOCK_DEBUG). This patch fixes it. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Bartlomiej Zolnierkiewicz authored
From: Go Taniguchi <go@turbolinux.co.jp> (Turbolinx Inc.) Change reg48 and reg54 in 8bit access and remove unused reg44. Jeff acked ata_piix.c part. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Russell King authored
swapper_space is needed by at least loop/st/sg these days.
-
Paul Mackerras authored
The last patch I sent means that we have WARN_ON(0) in a couple of places when CONFIG_PREEMPT=n. This patch makes that reduce to nothing (rather than a conditional trap on a 0 value), and also makes BUG_ON(0) reduce to nothing for completeness. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Paul Mackerras authored
Ben H added a check in a couple of places to make sure that we had preemption disabled when we call enable_kernel_{fp,altivec}. Unfortunately the check he used trips in the case when CONFIG_PREEMPT=n. This patch fixes it by defining a preemptible() macro (which reduces to 0 when CONFIG_PREEMPT=n) and doing WARN_ON(preemptible()). Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Paul Mackerras authored
The main thrust of this patch is to make the ppc32 PCI code more robust by checking for bus->resource[] being NULL before using it. We can legitimately get elements of bus->resource being NULL and I have actually hit that on some machines. This patch also allows resources starting at 0 to be accepted as assigned (we can and do get PCI resources starting at 0 in I/O space on PPC machines) and provides a sensible default for the case where Open Firmware doesn't give us a bus-range property for a PCI bridge. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Paul Mackerras authored
The ppc32 boot code has a couple of files that are executed very early on before the kernel is mapped at the address it is linked at. We have been using -mrelocatable-lib to compile these files, but apparently -mrelocatable-lib is deprecated and the gcc developers are threatening to remove it. In fact the -fPIC flag does what we need. This patch changes -mrelocatable-lib to -fPIC. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Paul Mackerras authored
In the ppc32 kernel, we have a /proc/ppc_htab file that trawls through the MMU hash table and prints various statistics on it such as percent occupancy. However, the hash table entry format is different on 64-bit cpus (POWER3, G5) which the ppc32 kernel does support (in 32-bit mode). This patch disables the scanning of the MMU hash table and printing of the statistics that we get from it on 64-bit cpus. Since the statistics are only for interest, and the ppc32 kernel is being used less and less on 64-bit cpus now that the ppc64 kernel is in reasonable shape, I didn't think it worth while to add code to deal with the 64-bit HPTE format. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Paul Mackerras authored
This patch is the ppc32 counterpart to a fix that went into arch/i386/kernel/irq.c last October. The bug was noted by Al Viro: if no handler exists, and we have IRQ_INPROGRESS set because of an earlier irq that got through, synchronize_irq() will end up waiting forever. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Paul Mackerras authored
I tried compiling a PPC32 kernel with PREEMPT + SMP and it failed because we didn't have a _raw_write_trylock. This patch adds _raw_write_trylock, moves the exports of _raw_*lock from arch/ppc/kernel/ppc_ksyms.c to arch/ppc/lib/locks.c, and makes __spin_trylock static since it is only used in locks.c. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-