- 20 Mar, 2003 40 commits
-
-
Geert Uytterhoeven authored
M68k Apollo I/O updates for MMIO and pseudo-MMIO (ISA I/O after translation): - Use out_8() and out_be16() instead of outb() and outw() - Remove conflicting definitions of {in,out}[bw]()
-
Geert Uytterhoeven authored
ADB: Fix spelling of sigprocmask
-
Geert Uytterhoeven authored
Q40: Replace sti() by local_irq_enable() in comment
-
Geert Uytterhoeven authored
M68k: Make PAGE_SIZE unsigned long to kill more warnings (cfr. other architectures), except for asm, since gas cannot cope with the UL.
-
Geert Uytterhoeven authored
M68k: Heartbeat is also available on Apollo and Mac
-
Geert Uytterhoeven authored
M68k: Update for signal changes in 2.5.60 (from Roman Zippel).
-
Geert Uytterhoeven authored
M68k syscalls: NR_syscalls updates for 2.5.63
-
Geert Uytterhoeven authored
M68k: Remove .global for local labels that are used to subtract (needed for recent binutils, from Andreas Schwab)
-
Geert Uytterhoeven authored
Amiga PCMCIA Ethernet: Use le16_to_cpus() instead of hardcoded byteswap (from Kars de Jong)
-
Geert Uytterhoeven authored
M68k: Add new kmap types for 2.5.60.
-
Geert Uytterhoeven authored
M68k: Update POSIX timers in struct siginfo (cfr. asm-generic/siginfo.h in 2.5.63)
-
Geert Uytterhoeven authored
M68k ISA: Fix ISA memory space mapping for Amiga PCMCIA (from Kars de Jong)
-
Geert Uytterhoeven authored
M68k: Export missing symbols: - mach_beep (for m68k beeper) - strpbrk (for SCSI)
-
Jens Axboe authored
dvd_read_physical() uses a 20 char buffer to read in the dvd structure, however the size is really 4 bytes header + 17 bytes body so layer->bca ends up containing garbage. Kudos to the nice folks who made it a non multiple of 4 bytes.
-
Dave Jones authored
Lots of patches from Norbert Kiesel that fix up several silly | vs. || and & vs. && bugs found with find ${1:-.} -name \*.c | xargs grep -En \ '![a-zA-Z0-9_ ]+(\|[^|]|\&[^&])|([^|]\||[^&]\&) *!'
-
Dave Jones authored
From Petr Vandrovec we use nbd for our diskless systems, and it looks to me like that it has some serious problems in 2.5.x... Can you apply this patch and forward it to Linus? There were: * Missing disk's queue initialization * Driver should use list_del_init: put_request now verifies that req->queuelist is empty, and list_del was incompatible with this. * I converted nbd_end_request back to end_that_request_{first,last} as I saw no reason why driver should do it itself... and blk_put_request has no place under queue_lock, so apparently when semantic changed nobody went through drivers...
-
Dave Jones authored
Originally by Rusty Lynch, munged by me, acked by Mochel. Attempting to cat a sysfs file that returns an error will result in an endless dump of garbage to the screen because the result of the specific show operation was being saved to a size_t (unsigned) and then later checked for a negative value.
-
Dave Jones authored
From Pavel Machek
-
Dave Jones authored
From: Jon Foster <jon@jon-foster.co.uk> This patch against 2.5.63 adds kerneldoc comments to the public API in these files: - include/asm-i386/uaccess.h - arch/i386/lib/usercopy.c This patch only changes comments and one of the templates used by "make htmldocs", it does not change any code.
-
Dave Jones authored
Fix by Randy Dunlap Here's a patch to build ide/pci/piix.c with CONFIG_PROC_FS=n.
-
Dave Jones authored
Old patch from John Kim to remove old DRM 4.0 code in 2.5.59.
-
Dave Jones authored
-
Dave Jones authored
From Herbert Xu The following patches against 2.4 and 2.5 makes cciss unregister properly if initialisation fails.
-
Dave Jones authored
-
bk://linux-dj.bkbits.net/cpufreqLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
http://linux-sound.bkbits.net/linux-soundLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Jaroslav Kysela authored
- created snd-page-alloc module - moved all page allocation code there - preserves preallocated DMA buffers for devices - USB audio driver updated - AC'97 - better modem initialization code - timer API - enhanced (added pause and more event notifications) - splitted ice1724 code from ice1712 to own module - general - timerstamp cleanups (timeval -> timespec) - C99-like cleanups - trident driver - more workaround for wrong IRQ acks - OSS sequencer emulation - fixed OOPS (wrong free order) - more compatible with level 1 of sequencer (/dev/sequencer) - CS46xx driver updated - intel8x0 driver updated - emu10k1 driver updated
-
bk://linuxusb.bkbits.net/linus-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
bk://kernel.bkbits.net/gregkh/linux/i2c-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Andrew Morton authored
From: Angus Sawyer <angus.sawyer@dsl.pipex.com> Prevent OOPS on removing floppy driver with "rmmod -f floppy". floppy.c would attempt to unregister resources for nonexistent device. Patch stops the driver attempting to register and unregister the nonexistent device by removing the drive from the allowed drives mask (defaults to present).
-
Andrew Morton authored
From: Manfred Spraul <manfred@colorfullife.com> Now that slab supports monster objects (up to 32MB) for !CONFIG_MMU we really don't want to keep spare instances of them in the slab head arrays. - limit head array sizes for huge slab caches to one object per cpu. - round the batch count up for default head array sizing - batch count 0 is illegal.
-
Andrew Morton authored
- There was an unchecked bdget(). bdget can fail due to ENOMEM. - rework the error handling implementation in raw_ctl_ioctl(). - Replace MOD_INC_USE_COUNT with try_module_get(THIS_MODULE). This allows the raw module to be unloaded again. The core kernel has already taken a ref on the module prior to entering the ioctl, so try_module_get() cannot fail.
-
Andrew Morton authored
The recent fix to the raw driver wasn't quite right: it rewrites the character-special inode's i_mapping to point back to itself on each close. So any other currently-open handles against /dev/raw/rawN get a nasty surprise. Change it to only rewrite i_mapping on the final close. Also, change it so that it only redirects its i_mapping on the initial open. This is not necessary, but is neater.
-
Andrew Morton authored
From: Zwane Mwaikambo <zwane@holomorphy.com> This patch makes us bail out in case we may have an interrupt which couldn't be associated with an interrupt controller. Without this we allow unconfigured interrupts to be assigned and then later on we get "unexpected IRQ trap at vector xx" during the ack phase. scenario: This can occur if we fail irq setup during setup_IO_APIC_irqs for some reason or other and then miss getting assigned a vector. Later on we then get assigned no_irq_type as our handler. Patch for i386 and x86_64
-
Andrew Morton authored
From: Steven Rostedt <rostedt@goodmis.org> The n_tty driver is missing some put_user checks.
-
Andrew Morton authored
- jiffies signedness fix - Fix compile warning
-
Andrew Morton authored
From: Stephen Hemminger <shemminger@osdl.org> The CPU frequency change detection code can change the values used to compute time of day with TSC; but there was no locking around it.
-
Andrew Morton authored
From: Tim Schmielau <tim@physik3.uni-rostock.de> Fixes the problem wherein nanosleep() is sleeping for the wrong duration. When starting out with timer_jiffies=0, the timer cascade is (unneccessarily) triggered on the first timer interrupt, incrementing all the higher indices. When starting with any other initial jiffies value, we miss that and end up with all higher indices being off by one.
-
Andrew Morton authored
From: William Lee Irwin III <wli@holomorphy.com> The NMI watchdog has two different "modes": NMI_IO_APIC, which delivers NMI's through the IO-APIC, and NMI_LOCAL_APIC, which uses the local APIC vector table (LVT) to deliver the periodic NMI's. Only NMI_IO_APIC requires being able to set up the PIT so it can deliver NMI's through the IO-APIC, and so NMI_LOCAL_APIC has no dependency on the timer being set up through the IO-APIC and is unjustifiably disabled by check_timer() when the PIT cannot deliver interrupts through the IO-APIC. This is important because one of the most important uses of NMI_LOCAL_APIC is to get the NMI watchdog going when NMI_IO_APIC doesn't work. So what this patch does to repair the situation is instead of checking to see if the NMI watchdog is enabled at all, it instead checks whether the NMI watchdog is being used in NMI_IO_APIC mode when a failure to set up the NMI timer interrupt through the IO-APIC occurs.
-
Andrew Morton authored
The current nanosleep implementation has a signedness problem which can cause it to sleep for 0x7ffffffe jiffies if a clock interrupt happens at the wrong time. The patch fixes that up, and also fixes an wrapping-unsafe 64-bit time comparison. Also uninline tstojiffie(), which has three call sites.
-