- 29 May, 2003 34 commits
-
-
Andrew Morton authored
Replace rtnl_lock(); register_netdevice(dev); rtnl_unlock(); with the equivalent register_netdev(); in numerous places.
-
Andrew Morton authored
The NR_OPEN check in F_DUPFD is unneeded. viro says: "We check the limits in locate_fd() (called by dupfd()). Check for NR_OPEN can (and should) be dropped - locate_fd() will never go beyond that (expand_fd() will check it and refuse to go). "IOW, simply lose the check. We _might_ want to check signedness, but that's it (IOW, check that arg will fit into 0..MAX_INT; second argument of dupfd() is an int). OTOH, we might actually make dupfd() et.al. take unsigned long and kill that crap completely." And indeed, the signedness is suspicious, so make various things in there unsigned too.
-
Andrew Morton authored
I'm not sure why I used igrab() in unlink(). igrab takes the oft-taken inode_lock. The caller has a ref, so a simple increment of i_count will suffice.
-
Andrew Morton authored
- set the number of pages to be written to "1". - Don't test PG_writeback twice.
-
Andrew Morton authored
From: Andy Whitcroft <apw@shadowen.org> There's a spot in i2o where we deliberately leak some memory when the hardware plays up. The alternative is to let the hardware scribble on it at some unknown time in the future. Things like the Stanford checker keep alleging that this is a bug. So shut them up with a comment
-
Andrew Morton authored
All we're doing in there is writing things into the inode. I see no need for the lock_kernel(). And holding lock_kernel() across mark_inode_dirty() hurts on big SMP.
-
Andrew Morton authored
From: Andi Kleen <ak@suse.de> The logic is: the global variable is set to the magic value IRQBALANCE_CHECK_ARCH. It can be overwritten by a __setup function. If the magic value is still set when the irq balancer is started it asks the subarchitecture using the NO_BALANCE_IRQ macro. This is defined to a genapic field in the generic architecture, otherwise constant. Then the global variable is set and when it is true no balancing happens. Previously I had this wrong in that it always disabled it. This part should be correct, but it still doesn't seem to work. (I left the printk in there until the problem is debugged, could be removed of course)
-
Andrew Morton authored
From: Hollis Blanchard <hollis@austin.ibm.com> Fix a user pointer deref, found by the Stanford checker.
-
Andrew Morton authored
From: Manfred Spraul <manfred@colorfullife.com> three build fixes for CONFIG_PROC_FS=n: include/linux/procfs.h: - add missing proc_pid_unhash, proc_pid_flush declarations. static inline functions that do nothing. - move semicolons around for kclist_{add,del}. gcc-3.2.2 doesn't like the current syntax. drivers/net/pppoe.c: - proc_net doesn't exist if CONFIG_PROC_FS=n. drivers/scsi/scsi_priv.h: - add missing brackets to macro definition.
-
Andrew Morton authored
From: Andrey Panin <pazke@donpac.ru> This small patch (against 2.5.70) updates visws_apic.c in accordance with linux irq handling changes.
-
Andrew Morton authored
From: Jan Marek <linux@hazard.jcu.cz> The DRM modules (i810) need this symbol. As this is a special-case for one particular in-kernel module I changed Jan's patch from EXPORT_SYMBOL to EXPORT_SYMBOL_GPL.
-
Andrew Morton authored
From: Milton Miller <miltonm@bga.com> mm is NULL for kernel threads without their own context. active_mm is maintained the one we lazly switch from. Without this patch, apm bios initiated suspend events (eg panel close) cause an oops on resume in the LDT restore, killing kapmd, which causes further events to not be polled.
-
Andrew Morton authored
From: Pavel Machek <pavel@ucw.cz> This fixes suspend when pccards are used...
-
Andrew Morton authored
We want an "|" in there, not "||".
-
Greg Ungerer authored
The m68knommu/pilot startup code is not copying the init segment to RAM currently. Fix it to copy all of the data and init sections to RAM.
-
Greg Ungerer authored
Support pre-configured boot arguments on m68knommu/5206e targets.
-
Greg Ungerer authored
Support pre-configured boot arguments on m68knommu/5206 targets.
-
Greg Ungerer authored
Make the ROMfs copy in the startup code for ARNEWSH/5260 board conditional on actually using a ROMfs setup.
-
Scott Feldman authored
(i.e. the better fix)
-
Jeff Garzik authored
into redhat.com:/garz/repo/net-drivers-2.5
-
Jeff Garzik authored
The needed fix winds up breaking SG, checksumming, and other stuff in the process.
-
Stephen Hemminger authored
Ouch.
-
Reeja John authored
* Dynamic interrupt coalescing * mii lib support * dynamic IPG support (disabled by default) * jumbo frame fix * vlan fix * rx irq coalescing fix
-
Steven Cole authored
More K&R to ANSI C conversions for lib/zlib_deflate.
-
Steven Cole authored
Here are some more K&R to ANSI C conversions.
-
bk://kernel.bkbits.net/jgarzik/net-drivers-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Alan Cox authored
-
Greg Ungerer authored
Linker script updates for m68knommu architecture: - fix _ramend for DragonEngine2 board - add security init call support
-
Greg Ungerer authored
-
Greg Ungerer authored
Clean up the dodgy is_in_rom() code for m68knommu targets. Now that all the m68knommu sub-architectures (68x328, 68360 and ColdFire) have the same memory setup support we can make this code the same for all targets.
-
Greg Ungerer authored
-
Greg Ungerer authored
Change the m68knommu specific calls to do_fork() to match its pid return vlue.
-
David Woodhouse authored
- Unrevert strncpy->strlcpy change in JEDEC chip driver - Fix partition handling in physmap map driver - Switch sa1100-flash map driver back to rmk's version.
-
David Woodhouse authored
into infradead.org:/inst/bk/linus-2.5
-
- 28 May, 2003 6 commits
-
-
Jeff Garzik authored
-
Jeff Garzik authored
into redhat.com:/garz/repo/net-drivers-2.5
-
Jeff Garzik authored
-
Jeff Garzik authored
in 8139too and pci-skeleton drivers.
-
Jeff Garzik authored
* use pci_{request,release}_regions for PCI devices * use alloc_etherdev (fixes race) * propagate error returns from pci_xxx function errors
-
Anton Blanchard authored
sys_wait4 can return a pid and in this case we want to copy the struct rusage out to userspace.
-