- 10 Mar, 2003 22 commits
-
-
Andrew Morton authored
Patch from Oleg Drokin <green@linuxhacker.ru> Not freeing allocated memory on error exit path.
-
Andrew Morton authored
Patch from Petr Vandrovec <vandrove@vc.cvut.cz> Reported by Oleg Drokin. In NCP_IOC_SETOBJECTNAME handler, we allocated space (newname pointer), copy stuff from userspace to there and then assign userspace pointer to our internal structure, whoops!
-
Andrew Morton authored
Force inlining even when gcc-3.x is too confused to do it for us.
-
Andrew Morton authored
The conversion of the console registration to an initcall-style thing has broken lots of people's setups. It is now dependent upon linkage order and if you have both CONFIG_VT_CONSOLE and CONFIG_SERIAL_CONSOLE, no boot messages come out on the screen because the kernel is selecting the serial console first. It can be fixed by specifying console=tty0, but nobody is doing that. We can fix it up by placing drivers/char/ in front of drivers/serial/ in linkage order.
-
Andrew Morton authored
The pnp_request_card_device() stub should return NULL, not -ENODEV.
-
Andrew Morton authored
-
Andrew Morton authored
Patch from Andreas Mohr <andi@rhlx01.fht-esslingen.de> Need to retake the spinlock in __pdflush() before continuing.
-
Linus Torvalds authored
-
bk://linux-pnp.bkbits.net/linux-pnpLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Andi Kleen authored
Make x86-64 boot again after the INITIAL_JIFFIES changes and some bug fixes. Also some work for NPTL. - Merge with i386/2.5.64-bk3 - Fix memory leak in copy_thread - arch_prctl uses GDT for base if possible. Cleanup. - clone supports bases >32bit for SETTLS etc. %fs hardcoded now. - new ptrace support for 64bit TLS - Disable (set|get)_thread_* for 64bit processes. - Audit arch/x86_64 for jiffies wrap issues. - Fix initial jiffies problem (that caused hanging kernels) - FIx a few 32bit emulation bugs (sigaltstack, sigqueue) - Some cleanup from Pavel - Should compile again as UP - Shrink size a bit by not putting exception tables into object files. - Fix compilation with gcc 3.3 :- force inlining when needed - Work around 2.5.64-bk3 console init bug. - Fix some alignments in assembly code
-
Christoph Hellwig authored
Rationale: devfs_only does nothing but disabling {un,}register_blkdev and {un,}register_chrdev. {un,}register_blkdev already do nothing but adding it's name argument to a lookup table for the __bdevname and /proc/device output so this use is already bogus. The disabling of the character device per-major arrays can work in practice but is useless as any driver relying on it can't be used on non-devfs systems.
-
Christoph Hellwig authored
Cleanup the i2c procfs code a bit (less ifdef mess), partially based on the lm_sensors CVS code.
-
H. Peter Anvin authored
This fixes a bunch of "src" versus "obj" confusions that apparently existed in my bootsect removal patch. How embarrassing...
-
Andrew Morton authored
This recent patch caused Nick Piggin's 2xPIII VIA686B chipset machine into an interrupts-off lockup during IDE probing. We don't really know why - it might be because an interrupt is delivered to a secondary which doesn't expect it. I have a second patch from Zwane which solves the same problem in a different way, but until that's had some wider testing I suggest we just back off the original.
-
bk://kernel.bkbits.net/davem/net-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Matthew Wilcox authored
- Fix my email address to one which reaches me ;-) - Remove timer.h include as we don't use timers. - Add module.h. - Sort includes alphabetically. - Move EXPORT_SYMBOL from ksyms.c to locks.c. - Simplify locks_conflict().
-
Linus Torvalds authored
entry routine load the real ESP0 off that per-cpu stack. Make this even faster by putting the sysenter stack in the per-CPU TSS, so that we can use the tss->esp0 value directly (which we have to update on task switches anyway). CAREFUL! This needs very subtle code for debug and NMI exceptions, to make sure we don't run with the sysenter stack in any real kernel code!
-
Linus Torvalds authored
use the real ones instead.
-
David S. Miller authored
into nuts.ninka.net:/home/davem/src/BK/net-2.5
-
Randy Dunlap authored
-
Gerd Knorr authored
This patch is a update for the video-buf mm helper module. It has some minor bugfixes and a number of signed/unsigned cleanups to make gcc 3.3 happy.
-
Linus Torvalds authored
This allows us to avoid having to use atomic updates for the lazy FP status setting, since we don't have to worry about other CPU's racing on the fields. Also, fix x86 FP state after fork() by making sure the FP is unlazied _before_ we copy the state information. Otherwise, if a process did a fork() while holding the FP state lazily in the registers, the child would incorrectly unlazy bogus state.
-
- 09 Mar, 2003 15 commits
-
-
Adam Belay authored
Fixes many issues that were discovered after testing. Also cleans up the card service code and fixes the card_drvdata bug in which only one driver at a time could have driver data.
-
Adam Belay authored
Compatibility update for the latest changes.
-
Adam Belay authored
Updates the als100 driver to use the pnp apis. Includes resource config templates.
-
Adam Belay authored
This set of changes addresses the following issues with the existing card service implementation: 1.) Only one driver can be bound to a card. 2.) repetive code is required for pnp_request_card_device and other functions This patch will make the card services usable by ALSA.
-
-
Adam Belay authored
A few minor revisions. Simpifies a few commands and adds config mode information.
-
Linus Torvalds authored
the otherwise unused cpl1 entry for SS), so that we can avoid re-loading it on task switches if it doesn't change.
-
Linus Torvalds authored
If we raced on a timer expire, we'd get a negative timeout and think that is was a _huge_ positive timeout.
-
Oleg Drokin authored
-
Linus Torvalds authored
to speed it up - use the proper bitmask for clearing "used-fpu" state.
-
Andi Kleen authored
Following some changes on x86-64. When cpu_has_fxsr is defined to 1 like in many kernels unlazy_fpu can collapse to three instructions. For that inlining is a very good idea. Otherwise it's 10 instructions or so, which can be still inlined. We don't need the lock prefix to test our local thread flags state. Unfortunately test_thread_flag currently always uses test_bit which has a LOCK on SMP, but that's unnecessary. LOCK is costly on P4, so it's a good idea to avoid it. Work around this for now by testing directly. Better would be probably to define __set_bit for all architectures to not guarantee atomicity and then always use that for local thread_info accesses in linux/thread_info.h
-
John Levon authored
Without this we have a choice between dropping lots of counter events for counters > 0, or getting dazed and confused. This brings it inline with the 2.4 module code. Tested on my 2-way. Also fix a typo from Steven Cole, and remove some unnecessary code
-
http://linux-scsi.bkbits.net/scsi-for-linus-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
James Bottomley authored
into raven.il.steeleye.com:/home/jejb/BK/scsi-for-linus-2.5
-
bk://linux-dj.bkbits.net/cpufreqLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
- 08 Mar, 2003 3 commits
-
-
Martin J. Bligh authored
From: Ingo Molnar <mingo@elte.hu> This cleans up the NUMA scheduler to have separate triggers for idle and busy rebalance ratio, preventing some complex interactions where idle cpus can cause busy ones to busy rebalance more often. The core functionality of this patch is rebalace_tick(). Tested in -mjb tree for over 1 month ... no problems at all found - retested on top of 64-bk3 with new scheduler updates.
-
Andrew Morton authored
Remove the unneeded forward declaration of eepro100_remove_one(). It is defeating the __attribute__(unused) tag on the definition of eepro100_remove_one() and is causing a "defined but not used" warning.
-
Andrew Morton authored
With CONFIG_SMP=n, CONFIG_PREEMPT=y, CONFIG_DEBUG_SPINLOCK=y we get many undefined refs to kernel_flag. This is because spinlock debugging works on uniprocessor kernels now, and it stores state inside the spinlock structure to do this. Having working spinlock debugging on UP kernels seems more important than saving four bytes, so...
-