Robin Farine [Sat, 4 Oct 2003 22:49:47 +0000 (23:49 +0100)]
[ARM PATCH] 1675/1: remove definitions of non-implemented system calls from include/asm-arm/unistd.h
Patch from Robin Farine
Remove the definitions of system call numbers from include/asm-arm/unistd.h for which the corresponding vector in arch/arm/kernel/calls.S points to sys_ni_syscall.
Since the new glibc (2.3.2) implements some of the system call wrapper functions based on the presence or absence of such definitions, only implemented system calls should have a corresponding __NR_xyz preprocessor symbol in unistd.h.
Nicolas Pitre [Sat, 4 Oct 2003 22:35:39 +0000 (23:35 +0100)]
[ARM PATCH] 1674/1: better ARM division routines
Patch from Nicolas Pitre
Here's my rewrite of the ARM division routines:
- take advantage of the clz instruction on ARMv5+
- simpler and faster code for modulo routines
- fast path for power of 2 divisors
- other miscellaneous optimizations
Russell King [Sat, 4 Oct 2003 12:38:39 +0000 (13:38 +0100)]
[ARM] Make ARM use Pat's generic PM suspend to RAM support
Hook the PXA and SA11x0 platform core power into the generic PM core.
Add support for freezing userspace processes. Make our apm emulation
call the generic PM suspend to memory infrastructure.
Russell King [Sat, 4 Oct 2003 12:16:04 +0000 (13:16 +0100)]
[ARM] leds.c, being so basic, needs linux/compiler.h
linux/init.h doesn't include linux/compiler.h, but needs some
definitions (the __attribute_unused__ stuff) from compiler.h.
Since this affects only two files, we include linux/compiler.h
directly into the affected files.
- MAINTAINERS:
- add the LinuxTV.org project as the DVB driver maintainer
- add me as the saa7146 v4l2 driver maintainer
- CREDITS: add me as the saa7146 v4l2 driver author
- Documentation/ioctl-number.txt:
- remove bogus reference to Linux DVD API, which never really existed
- remove bogus referenc to Philips saa7146 driver, which never came
to life
Andrew Morton [Sat, 4 Oct 2003 05:00:24 +0000 (22:00 -0700)]
[PATCH] more raw driver minor numbers
From: Badari Pulavarty <pbadari@us.ibm.com>
Since we have larger dev_t now, here is the patch to support large
number of RAW devices. The userlevel command "raw" also needs changes to
use this support - which in turn needs new glibc.
Witht he EXPORT_SYMBOL cleanups, net/netsyms.c has been removed. The
kernel-api DocBook docs still refer to this file, and because this file
is gone, "make htmldocs" and similar fails.
This just removes the reference and so fixes this docbook problem.
drivers/char/misc.c was changed to use the common list macros instead of
its own list code. The first open does load the module and increment
its use count, but a bug causes a failure to be reported anyway. This
causes an error return to user-space where there is none, and makes the
module non-unloadable.
Randy Dunlap [Fri, 3 Oct 2003 15:31:55 +0000 (08:31 -0700)]
[PATCH] janitor: opl3sa2 cleanups/checker
From: Daniele <bellucda@tiscali.it>
- remove unneeded block of code in opl3sa3_mixer_ioctl
- remove unused function opl3sa3_set_wide
- From Stanford Checker:
/home/junfeng/linux-tainted/sound/oss/opl3sa2.c:539:opl3sa3_mixer_ioctl:
ERROR:TAINTED:53 9:539: dereferencing tainted ptr 'arg'
..fixed user space pointer referce too on ioctl functions
Changes include:
Add support for new USA19H(s) USB Serial Adapter
Improve handing of config/control messages for all devices
Note that the new adapter doesn't currently require a firmware download.
We will add support for re-programming the eeprom with updated firmware
when new firmware is required.
Luiz Capitulino [Fri, 3 Oct 2003 08:18:06 +0000 (01:18 -0700)]
[PATCH] USB: fix drivers/usb/host/uhci-debug.c warning when !CONFIG_PROC_FS.
I'm getting this when compiling USB with all options enabled:
drivers/usb/host/uhci-debug.c:417: warning: `uhci_sprint_schedule' defined but not used
my suggestion is to put under the #ifdef/#endif the functions which are
only used by the proc ones too. If one of them become necessary when
CONFIG_PROC_FS=n, the #ifdef/#endif for that function can be removed:
ide_pci_setup_ports() from setup-pci.c checks if port is disabled, if so
d->init_setup_dma() and d->init_hwif() won't be called. There is no need
to check it once again inside init_hwif_amd74xx(), init_dma_amd74xx()
and amd74xx_tune_drive() (hwif->tuneproc will be NULL for disabled port).
Therefore remove amd_enabled variable and now unnecessary init_dma_amd74xx().
Also do not set .init_{iops, dma} to NULL in amd74xx.h (amd74xx_chipsets[]
is declared static). Bump driver's version number to reflect changes.
ide_pci_setup_ports() from setup-pci.c checks if port is disabled, if so
d->init_setup_dma() and d->init_hwif() won't be called. There is no
need to check it once again inside init_hwif_via82cxxx(),
init_dma_via82cxxx() and via82cxxx_tune_drive() (hwif->tuneproc will be
NULL for disabled port).
Therefore remove via_enabled variable and now unnecessary
init_dma_via82cxx(). Also do not set .init_{iops, dma} to NULL in
via82cxxx.h (via82cxxx_chipsets[] is declared static). Bump driver's
version number to reflect changes.
Roland McGrath [Fri, 3 Oct 2003 07:17:11 +0000 (00:17 -0700)]
[PATCH] fix vsyscall page in core dumps
My change to core dumps that was included with the vsyscall DSO
implementation had a bug (braino on my part). Core dumps don't include the
full page of the vsyscall DSO, and so don't accurately represent the whole
memory image of the process. This patch fixes it. I have tested it on
x86, but not tested the same change to 32-bit core dumps on AMD64 (haven't
even compiled on AMD64).
I've also included the corresponding change for the IA64 code that was
copied blindly from the x86 vsyscall implementation, which looks like more
change than it is since I preserved the formatting of the copied code
instead of arbitrarily diddling it along with the trivial symbol name
changes. I haven't compiled or tested on ia64.
Sam Ravnborg [Thu, 2 Oct 2003 23:10:54 +0000 (01:10 +0200)]
kbuild: fixes for separate output directory
- Error out if specified directory does not exist
- Do not build the kernel three times wheh specifying "defconfig all"
- Removed warning when the target all was specified