]> git.hungrycats.org Git - linux/log
linux
23 years agoKernel version 2.5.21 v2.5.21
Linus Torvalds [Sat, 8 Jun 2002 15:05:17 +0000 (08:05 -0700)]
Kernel version 2.5.21

23 years ago"make clean": get rid of temporary directories too
Linus Torvalds [Sat, 8 Jun 2002 15:02:11 +0000 (08:02 -0700)]
"make clean": get rid of temporary directories too

23 years agoFall-out from header file cleanups
Linus Torvalds [Sat, 8 Jun 2002 14:33:59 +0000 (07:33 -0700)]
Fall-out from header file cleanups

23 years ago[PATCH] Catch a few more cases where we need to renew inode->d_time
Trond Myklebust [Sat, 8 Jun 2002 10:51:07 +0000 (03:51 -0700)]
[PATCH] Catch a few more cases where we need to renew inode->d_time

fs/nfs/dir.c:

   - Call nfs_renew_times() when we deliberately create a negative dentry.
     or rename a file.

23 years ago[PATCH] Reduce number of LOOKUP calls in nfs_lookup_revalidate()
Trond Myklebust [Sat, 8 Jun 2002 10:50:55 +0000 (03:50 -0700)]
[PATCH] Reduce number of LOOKUP calls in nfs_lookup_revalidate()

fs/nfs/inode.c:
  - Ensure that we initialize NFS_MTIME_UPDATE(inode).

  - If a directory's mtime changed due to some action on our part
    (file creation/deletion/...) don't force a dcache revalidation by
    changing NFS_MTIME_UPDATE(inode).

23 years agoACPI sleep depends on software suspend (at least for now)
Linus Torvalds [Sat, 8 Jun 2002 10:42:10 +0000 (03:42 -0700)]
ACPI sleep depends on software suspend (at least for now)

23 years ago[PATCH] s/390 patches for 2.5.20 (4 of 4).
Martin Schwidefsky [Sat, 8 Jun 2002 10:02:50 +0000 (03:02 -0700)]
[PATCH] s/390 patches for 2.5.20 (4 of 4).

Fourth and last part of the s/390 update. Docu stuff.

23 years ago[PATCH] s/390 patches for 2.5.20 (3 of 4).
Martin Schwidefsky [Sat, 8 Jun 2002 10:02:37 +0000 (03:02 -0700)]
[PATCH] s/390 patches for 2.5.20 (3 of 4).

Third patch of the s/390 update. Everything from drivers/s390. This patch
contains the main bunch of changes. Major changes are: 1) the restructured
dasd driver, 2) the new tape driver, 3) the start of the common io layer
rework, 4) the gpl'ed lcs driver and 5) the gpl'ed qdio layer

23 years ago[PATCH] s/390 patches for 2.5.20 (2 of 4).
Martin Schwidefsky [Sat, 8 Jun 2002 10:01:58 +0000 (03:01 -0700)]
[PATCH] s/390 patches for 2.5.20 (2 of 4).

Second patch of the s/390 update. Contains all the include file changes in
include/asm-{s390,s390x}.

23 years ago[PATCH] s/390 patches for 2.5.20 (1 of 4).
Martin Schwidefsky [Sat, 8 Jun 2002 10:00:13 +0000 (03:00 -0700)]
[PATCH] s/390 patches for 2.5.20 (1 of 4).

This first patch contains the changes to arch/{s390,s390x}

23 years ago[PATCH] missing GET_CPU_IDX in i386 entry.S
Brian Gerst [Sat, 8 Jun 2002 09:45:45 +0000 (02:45 -0700)]
[PATCH] missing GET_CPU_IDX in i386 entry.S

resume_kernel uses CPU_IDX but never uses GET_CPU_IDX to get the index.

  This is an issue when smp and preemption are both enabled.  I also
removed the unused GET_CURRENT_CPU_IDX.

23 years ago[PATCH] matroxfb dies when you try to use secondary head in 2.5.x
Petr Vandrovec [Sat, 8 Jun 2002 09:28:33 +0000 (02:28 -0700)]
[PATCH] matroxfb dies when you try to use secondary head in 2.5.x

James introduced bad bug which causes NULL pointer dereference as soon
as you'll try to use secondary head because of screen_base is not
initialized (it is initialized on wrong head).

23 years agoMerge http://jfs.bkbits.net/linux-2.5
Linus Torvalds [Sat, 8 Jun 2002 09:26:45 +0000 (02:26 -0700)]
Merge http://jfs.bkbits.net/linux-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] set_cpus_allowed fix
Robert Love [Sat, 8 Jun 2002 09:26:14 +0000 (02:26 -0700)]
[PATCH] set_cpus_allowed fix

Mike Kravetz pointed out that the set_cpus_allowed optimization he
suggested has a small but possible race condition wherein the system
could still be operating in the context of the task but it is not
running.  On top of this, the runqueue lock can be dropped in
load_balance and thus we can race and set task->cpu at a very unpleasant
time.

My solution is to just remove the optimization.

23 years ago[PATCH] capability.c thinko
Robert Love [Sat, 8 Jun 2002 09:26:01 +0000 (02:26 -0700)]
[PATCH] capability.c thinko

Apparently my understanding of C brace rules was blurred and there is a
thinko in kernel/capability.c - what we want is what the indention
reflects but what we get is an unconditional return of -EINVAL.

23 years agoMerge http://linux-isdn.bkbits.net/linux-2.5.isdn
Linus Torvalds [Sat, 8 Jun 2002 09:19:01 +0000 (02:19 -0700)]
Merge http://linux-isdn.bkbits.net/linux-2.5.isdn
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] fs/locks.c: more cleanup
Matthew Wilcox [Sat, 8 Jun 2002 09:18:04 +0000 (02:18 -0700)]
[PATCH] fs/locks.c: more cleanup

Define the for_each_lock macro and start replacing ugly special for loops
with it.  Rejig the interface between sys_flock and flock_lock_file to
always pass a struct file_lock rather than a command.  Eliminate some
gotos by simplifying the logic.  Remove some redundant initialisation.

23 years ago[PATCH] More work on removing <linux/mm.h> from <linux/vmalloc.h>
Tom Rini [Sat, 8 Jun 2002 09:15:46 +0000 (02:15 -0700)]
[PATCH] More work on removing <linux/mm.h> from <linux/vmalloc.h>

Fixes for include file cleanups

23 years agoMerge http://linux-isdn.bkbits.net/linux-2.5.make
Linus Torvalds [Sat, 8 Jun 2002 09:14:23 +0000 (02:14 -0700)]
Merge http://linux-isdn.bkbits.net/linux-2.5.make
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] Remove <linux/mm.h> from <linux/vmalloc.h>
Tom Rini [Sat, 8 Jun 2002 09:13:15 +0000 (02:13 -0700)]
[PATCH] Remove <linux/mm.h> from <linux/vmalloc.h>

This removes <linux/mm.h> from <linux/vmalloc.h>.

This then goes and fixes all of the files (x86 and PPC) which relied on
implicit includes which don't happen anymore.  This also takes
<linux/kdev_t.h> out of fs/mpage.c and puts it into include/linux/bio.h
where it belongs since <linux/bio.h> references 'kdev_t' directly.

A quick summary of the of the added includes:
arch/i386/kernel/microcode.c: needs extern for num_physpages, in linux/mm.h
include/linux/spinlock.h: local_irq* is defined in <asm/system.h> but
this was never directly included.

23 years ago[PATCH] Move vmalloc wrappers out of include/linux/vmalloc.h
Tom Rini [Sat, 8 Jun 2002 09:12:09 +0000 (02:12 -0700)]
[PATCH] Move vmalloc wrappers out of include/linux/vmalloc.h

This moves the vmalloc wrappers from <linux/vmalloc.h> into mm/vmalloc.c.

Doing this will later allow us to remove <linux/mm.h> from <linux/vmalloc.h>,
along with some other #include fixups.

23 years ago[PATCH] fs/locks.c: remove MSNFS define
Matthew Wilcox [Sat, 8 Jun 2002 09:11:57 +0000 (02:11 -0700)]
[PATCH] fs/locks.c: remove MSNFS define

This patch removes the MSNFS defines.  These locks have a wider purpose
than emulating Microsoft NFS semantics.

23 years ago[PATCH] fs/locks.c: Only yield once for flocks
Matthew Wilcox [Sat, 8 Jun 2002 09:09:24 +0000 (02:09 -0700)]
[PATCH] fs/locks.c: Only yield once for flocks

This patch removes the annoying and confusing `wait' argument from
many places.  The only change in behaviour is that we now yield once
when unblocking other BSD-style flocks instead of once for each lock.

This slightly improves the semantics for userspace.  Before, when we
had two tasks waiting on a lock, the first one would receive the lock.
Now, the one with the highest priority receives the lock.

23 years agoMerge bk://ldm.bkbits.net/linux-2.5
Linus Torvalds [Sat, 8 Jun 2002 09:07:50 +0000 (02:07 -0700)]
Merge bk://ldm.bkbits.net/linux-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge http://fbdev.bkbits.net:8080/fbdev-2.5
Linus Torvalds [Sat, 8 Jun 2002 09:07:04 +0000 (02:07 -0700)]
Merge http://fbdev.bkbits.net:8080/fbdev-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge bk://linuxusb.bkbits.net/linus-2.5
Linus Torvalds [Sat, 8 Jun 2002 09:03:44 +0000 (02:03 -0700)]
Merge bk://linuxusb.bkbits.net/linus-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] USB SA-1111 patch against usb-2.5 bitkeeper
Christopher Hoover [Sat, 8 Jun 2002 08:44:03 +0000 (01:44 -0700)]
[PATCH] USB SA-1111 patch against usb-2.5 bitkeeper

This adds SA-1111 support for ohci-hcd and fixes usb-ohci too.

23 years ago[PATCH] USB pwc webcam patch
Martin Devera [Sat, 8 Jun 2002 08:10:59 +0000 (01:10 -0700)]
[PATCH] USB pwc webcam patch

thanks to suggestions from David Brownell I modified
pwc driver to compile and work under 2.5.18.
Also it fixes mas ISO transfer sizes which could
potentionaly affect older kernels too.
With these changes it works - I'll test stability and
post results later.

23 years ago[PATCH] fix urb->next removal in usbvideo
Simon Evans [Sat, 8 Jun 2002 08:06:52 +0000 (01:06 -0700)]
[PATCH] fix urb->next removal in usbvideo

This patch removes the use of urb->next in usbvideo.c and resubmits
the URB in the completion handler.

23 years ago[PATCH] fix urb->next removal in konicawc driver
Simon Evans [Sat, 8 Jun 2002 08:06:33 +0000 (01:06 -0700)]
[PATCH] fix urb->next removal in konicawc driver

This patch removes the use of urb->next in konicawc.c and resubmits
the URB in the completion handler.

23 years agoJFS: remove obsolete declaration
Dave Kleikamp [Fri, 7 Jun 2002 09:02:18 +0000 (04:02 -0500)]
JFS: remove obsolete declaration

23 years agoJFS: Add hch's copyright.
Dave Kleikamp [Fri, 7 Jun 2002 08:58:51 +0000 (03:58 -0500)]
JFS: Add hch's copyright.

He has added significant content to these files.

23 years agoJFS: Fix structure alignment problem on 64-bit machines
Dave Kleikamp [Fri, 7 Jun 2002 08:54:51 +0000 (03:54 -0500)]
JFS: Fix structure alignment problem on 64-bit machines

The code in xtLog assumes that the structures xdlistlock_t and
maplock_t are the same size, as they are overlaid.  On 64-bit
machines, this was not the case.

Ensure that the xdlistlock_t is 16 bytes in length regardless of
the size of a pointer.

23 years agoIBM PCI Hotplug driver: added __init and __exit to functions that needed it.
Greg Kroah-Hartman [Fri, 7 Jun 2002 06:32:51 +0000 (23:32 -0700)]
IBM PCI Hotplug driver: added __init and __exit to functions that needed it.

Thanks to Andrey Panin <pazke@orbita1.ru> for pointing these out to me.

23 years agoPCI Hotplug core: added #include <linux/namei.h> to fix compile time warning
Greg Kroah-Hartman [Fri, 7 Jun 2002 06:29:15 +0000 (23:29 -0700)]
PCI Hotplug core: added #include <linux/namei.h> to fix compile time warning

23 years agoIBM PCI Hotplug driver: polling thread locking cleanup
Greg Kroah-Hartman [Fri, 7 Jun 2002 06:27:01 +0000 (23:27 -0700)]
IBM PCI Hotplug driver:  polling thread locking cleanup

removed a lot of bizzare polling locking logic, causing the driver to not sleep
for 2 seconds with some locks held.  This improves userspace interaction by
a few orders of magnitude :)

23 years agoUSB: hcd cleanups and documentation
Greg Kroah-Hartman [Fri, 7 Jun 2002 04:37:25 +0000 (21:37 -0700)]
USB: hcd cleanups and documentation

Implement many of the hcd cleanups that David Brownell had previously submitted.

23 years agoUSB: usb-midi driver: fixed memory flag, as pointed out by Oliver Neukum
Greg Kroah-Hartman [Fri, 7 Jun 2002 03:45:22 +0000 (20:45 -0700)]
USB: usb-midi driver: fixed memory flag, as pointed out by Oliver Neukum

23 years ago[PATCH] relocate error checks
David Brownell [Fri, 7 Jun 2002 03:40:00 +0000 (20:40 -0700)]
[PATCH] relocate error checks

As was discussed a few weeks back, this moves most of the
sanity checks and input conditioning for the HCD framework's
usb_submit_urb() support directly into usb_submit_urb(), so
that all HCDs (not just those using the sharable HCD framework
support) can rely on them.

23 years ago[PATCH] uhci-hcd misc
David Brownell [Fri, 7 Jun 2002 03:39:44 +0000 (20:39 -0700)]
[PATCH] uhci-hcd misc

This has two minor tweaks to the uhci-hcd driver:

- removes some duplicated code (HCD framework does that test)
- corrects a FIXME comment (no issue)

23 years ago[PATCH] 2.5.20 ov511.c compile fixes
Mark W. McClelland [Fri, 7 Jun 2002 03:17:45 +0000 (20:17 -0700)]
[PATCH] 2.5.20 ov511.c compile fixes

This patch allows ov511 to build again by removing references to
urb->next. It now resubmits in the completion handler and properly sets
urb->interval.

23 years agoISDN/CAPI: Don't use special slab caches for CAPI objects
Kai Germaschewski [Thu, 6 Jun 2002 15:08:24 +0000 (10:08 -0500)]
ISDN/CAPI: Don't use special slab caches for CAPI objects

In normal use, only handful of these structures are allocated,
so there's no point in setting up private slab caches for them.

23 years agoISDN: LED support for netjet driver
Kai Germaschewski [Thu, 6 Jun 2002 15:00:01 +0000 (10:00 -0500)]
ISDN: LED support for netjet driver

(by Guy Ellis)

23 years agoISDN: MPPP crash fix
Kai Germaschewski [Thu, 6 Jun 2002 14:59:14 +0000 (09:59 -0500)]
ISDN: MPPP crash fix

prevent kernel oops with MPPP
add some debugging code for critical MPPP situations

(by Karsten Keil)

23 years agoISDN: Add in-kernel ISAPnP support to HiSax driven cards
Kai Germaschewski [Thu, 6 Jun 2002 14:55:39 +0000 (09:55 -0500)]
ISDN: Add in-kernel ISAPnP support to HiSax driven cards

(by Karsten Keil)

23 years agoISDN: Add support for Formula-n enter:now, a.k.a. Gerdes Power ISDN
Kai Germaschewski [Thu, 6 Jun 2002 14:53:48 +0000 (09:53 -0500)]
ISDN: Add support for Formula-n enter:now, a.k.a. Gerdes Power ISDN

(by Christoph Ersfeld/Karsten Keil)

23 years agoISDN: Add DoV (Data over Voice) support
Kai Germaschewski [Thu, 6 Jun 2002 14:50:07 +0000 (09:50 -0500)]
ISDN: Add DoV (Data over Voice) support

(by Guy Ellis)

23 years agoISDN: Add support for Eicon Diva 2.02
Kai Germaschewski [Thu, 6 Jun 2002 14:48:39 +0000 (09:48 -0500)]
ISDN: Add support for Eicon Diva 2.02

(by Joerg Petersohn/Karsten Keil)

23 years agoISDN: Cisco HDLC update
Kai Germaschewski [Thu, 6 Jun 2002 14:40:32 +0000 (09:40 -0500)]
ISDN: Cisco HDLC update

Only handle reverse ARP special, leave the rest to the
network layer.

(by Bjoern A. Zeeb)

23 years agoISDN: Add support for USR PCI TA
Kai Germaschewski [Thu, 6 Jun 2002 14:38:50 +0000 (09:38 -0500)]
ISDN: Add support for USR PCI TA

(by Karsten Keil)

23 years agoISDN: hisax/hfc_pci.c: sync with 2.4
Kai Germaschewski [Thu, 6 Jun 2002 14:37:43 +0000 (09:37 -0500)]
ISDN: hisax/hfc_pci.c: sync with 2.4

23 years agoISDN: Export all hisax symbols from drivers/isdn/hisax/config.o
Kai Germaschewski [Thu, 6 Jun 2002 14:36:34 +0000 (09:36 -0500)]
ISDN: Export all hisax symbols from drivers/isdn/hisax/config.o

As a courtesy to s390, remove drivers/isdn/hisax/fsm.o from
$(export-objs), so that it doesn't clash with the S390 fsm.o, which
is exporting symbols as well ;)

23 years agoISDN: Add PPP statistics in bytes
Kai Germaschewski [Thu, 6 Jun 2002 14:35:21 +0000 (09:35 -0500)]
ISDN: Add PPP statistics in bytes

(by Karsten Keil)

23 years agoISDN/CAPI: Remove some left-over from the capi_driver removal
Kai Germaschewski [Thu, 6 Jun 2002 14:19:42 +0000 (09:19 -0500)]
ISDN/CAPI: Remove some left-over from the capi_driver removal

23 years agoISDN: Fix a typo in drivers/isdn/hisax/elsa.c
Kai Germaschewski [Thu, 6 Jun 2002 14:18:29 +0000 (09:18 -0500)]
ISDN: Fix a typo in drivers/isdn/hisax/elsa.c

One of the janitorial cleanups introduced pci_request_region()
instead of request_region().

23 years agoISDN: Add missing #include <linux/init.h>
Kai Germaschewski [Thu, 6 Jun 2002 14:17:11 +0000 (09:17 -0500)]
ISDN: Add missing #include <linux/init.h>

23 years agokbuild: dependency generation fixes
Kai Germaschewski [Thu, 6 Jun 2002 11:10:17 +0000 (06:10 -0500)]
kbuild: dependency generation fixes

o Fix a bug in fixdep.c, which could cause segfaults
o Make sure that we build fixdep first of all, since
  we need it to build host programs.

23 years agokbuild: Fix extracting of CONFIG_ references
Kai Germaschewski [Thu, 6 Jun 2002 09:46:44 +0000 (04:46 -0500)]
kbuild: Fix extracting of CONFIG_ references

by Sam Ravnborg:

fixdep, when adding dependencies to config entires fails to take into account
the last part of a config entry, if it contains more than one underscore.
Example:
CONFIG_PROC_FS generates
$(wildcard include/config/proc.h)
but should generate
$(wildcard include/config/proc/fs.h)

Attached patch fixes this.

23 years agokbuild: Add rules for compiling programs on the host
Kai Germaschewski [Thu, 6 Jun 2002 07:53:03 +0000 (02:53 -0500)]
kbuild: Add rules for compiling programs on the host

At a couple of places, we need to build programs which run on the
compile host during building the kernel.

Add a new variable "host-progs" to declare such programs. Rules.make will
automatically provide rules to compile these programs with appropriate
command lines etc.

Compared to having explicit rules spread around for doing so, this has
the following advantages:

o shorter
o automatically figures out dependencies and handles changing command
  lines
o Nicer output in quiet mode ;-)

Compiling host programs from multiple sources is also possible, analogous
to multi-part objects. E.g. scripts/Makefile has

host-progs := tkparse
tkparse-objs := tkparse.o tkcond.o tkgen.o

23 years agoUSB: split some pci specific pieces out of hcd.c into a separate file.
Greg Kroah-Hartman [Thu, 6 Jun 2002 07:19:55 +0000 (00:19 -0700)]
USB: split some pci specific pieces out of hcd.c into a separate file.

23 years agoMerge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5
Kai Germaschewski [Thu, 6 Jun 2002 07:09:49 +0000 (02:09 -0500)]
Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make

23 years agokbuild: Enforce UTS limit, use LANG=C for date/time
Kai Germaschewski [Thu, 6 Jun 2002 05:09:52 +0000 (00:09 -0500)]
kbuild: Enforce UTS limit, use LANG=C for date/time

Patch by Keith Owens, ported to 2.5.

If the length of $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
exceeds 64 characters it silently corrupts the utsname data, resulting
in garbage for uname -r and problems running the kernel and modules.
Abort if KERNELRELEASE is too long.  Truncation is not good enough, it
results in ambiguous /lib/modules/`uname -r` contents.

Ensure that the date/time in uname are always in LANG=C.  Users with
other languages report that 8 bit values cause the boot messages to go
haywire.

23 years agokbuild: small toplevel makefile tidyup
Christoph Hellwig [Thu, 6 Jun 2002 04:09:25 +0000 (23:09 -0500)]
kbuild: small toplevel makefile tidyup

- add comment about the vmlinux link components
- get rid of DRIVERS-y - always linking in sound/sound.o doesn't harm
- sort SUBDIRS in link order
- always use := to assign
- remove supeflous $(TOPDIR) for lib/lib.a

23 years agoMerge
Kai Germaschewski [Thu, 6 Jun 2002 04:03:38 +0000 (23:03 -0500)]
Merge

23 years agokbuild: remove CLEAN_DIRS from Makfile
Christoph Hellwig [Thu, 6 Jun 2002 14:51:40 +0000 (16:51 +0200)]
kbuild: remove CLEAN_DIRS from Makfile

23 years agoMerge kroah.com:/home/greg/linux/BK/bleeding_edge-2.5
Greg Kroah-Hartman [Thu, 6 Jun 2002 03:59:53 +0000 (20:59 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleeding_edge-2.5
into kroah.com:/home/greg/linux/BK/gregkh-2.5

23 years agodevice detach locking, one more time: get driver and reset it in struct device before...
Patrick Mochel [Thu, 6 Jun 2002 02:50:30 +0000 (19:50 -0700)]
device detach locking, one more time: get driver and reset it in struct device before calling remove()

23 years agoMerge penguin:v2.5/linux
Linus Torvalds [Thu, 6 Jun 2002 02:44:14 +0000 (19:44 -0700)]
Merge penguin:v2.5/linux
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] Futex update IV: use a waitqueue.
Rusty Russell [Thu, 6 Jun 2002 02:30:17 +0000 (19:30 -0700)]
[PATCH] Futex update IV: use a waitqueue.

This turns the simple task pointer into a waitqueue, which is
needed for the poll() patch.

23 years ago[PATCH] fs/locks.c: add and use IS_{POSIX, FLOCK, LEASE} macros
Stephen Rothwell [Thu, 6 Jun 2002 02:26:57 +0000 (19:26 -0700)]
[PATCH] fs/locks.c: add and use IS_{POSIX, FLOCK, LEASE} macros

Another trivial part of a Matthew Wilcox patch.  This just
defines macros for distinguishing the differnet types of locks.

23 years ago[PATCH] Futex update III: don't use put_page...
Rusty Russell [Thu, 6 Jun 2002 02:25:51 +0000 (19:25 -0700)]
[PATCH] Futex update III: don't use put_page...

This uses page_cache_release() instead of put_page(), as it might
be a pagecache page.

23 years ago[PATCH] Futex II: Copy-from-user can fail.
Rusty Russell [Thu, 6 Jun 2002 02:25:39 +0000 (19:25 -0700)]
[PATCH] Futex II: Copy-from-user can fail.

This patch handles the case where copy_from_user fails (it could
have been unmapped from this address space by another thread).

23 years ago[PATCH] Futex update I: Trivial comment removal
Rusty Russell [Thu, 6 Jun 2002 02:25:28 +0000 (19:25 -0700)]
[PATCH] Futex update I: Trivial comment removal

This comment refers to the original implementation. Obsolete.

23 years ago[PATCH] Shared zlib include fix for 2.5 and 2.4-ac.
David Woodhouse [Thu, 6 Jun 2002 02:25:16 +0000 (19:25 -0700)]
[PATCH] Shared zlib include fix for 2.5 and 2.4-ac.

This switches linux/zlib.h to include zconf.h as <linux/zconf.h> instead of
just "zconf.h".

23 years agoMerge master.kernel.org:/home/davem/BK/misc-2.5
Linus Torvalds [Thu, 6 Jun 2002 02:21:49 +0000 (19:21 -0700)]
Merge master.kernel.org:/home/davem/BK/misc-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge master.kernel.org:/home/davem/BK/sparc-2.5
Linus Torvalds [Thu, 6 Jun 2002 02:20:37 +0000 (19:20 -0700)]
Merge master.kernel.org:/home/davem/BK/sparc-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge master.kernel.org:/home/davem/BK/net-2.5
Linus Torvalds [Thu, 6 Jun 2002 02:19:46 +0000 (19:19 -0700)]
Merge master.kernel.org:/home/davem/BK/net-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoDon't reference driver after you set pointer to NULL in device_detach
Patrick Mochel [Thu, 6 Jun 2002 01:10:56 +0000 (18:10 -0700)]
Don't reference driver after you set pointer to NULL in device_detach

23 years agoIDE: Print 64-bit types more portably.
David S. Miller [Wed, 5 Jun 2002 20:33:10 +0000 (13:33 -0700)]
IDE: Print 64-bit types more portably.

23 years agoIDE: Add missing printf format specifier when
David S. Miller [Wed, 5 Jun 2002 20:32:21 +0000 (13:32 -0700)]
IDE: Add missing printf format specifier when
printing Sparc IRQ.

23 years agoIDE: Print I/O ports more portably.
David S. Miller [Wed, 5 Jun 2002 20:31:17 +0000 (13:31 -0700)]
IDE: Print I/O ports more portably.

23 years agoSparc: Adjust to new {clear,copy}_user_page calling convention.
David S. Miller [Wed, 5 Jun 2002 20:28:55 +0000 (13:28 -0700)]
Sparc: Adjust to new {clear,copy}_user_page calling convention.

23 years agoSparc64: Propagate forget_pte changes to sparc64 ioremap.
David S. Miller [Wed, 5 Jun 2002 20:27:39 +0000 (13:27 -0700)]
Sparc64: Propagate forget_pte changes to sparc64 ioremap.

23 years agoSparc64: Propagate exec MM handling changes to sparc32 emulation layer.
David S. Miller [Wed, 5 Jun 2002 20:26:58 +0000 (13:26 -0700)]
Sparc64: Propagate exec MM handling changes to sparc32 emulation layer.

23 years agosparc64/kernel/Makefile: Remove bogus binfmt_elf32.o dependency target.
David S. Miller [Wed, 5 Jun 2002 20:26:03 +0000 (13:26 -0700)]
sparc64/kernel/Makefile: Remove bogus binfmt_elf32.o dependency target.

23 years agoregister_netdevice: Fix return value handling on success.
David S. Miller [Wed, 5 Jun 2002 20:25:02 +0000 (13:25 -0700)]
register_netdevice: Fix return value handling on success.

23 years agoSunRPC: Fix size_t vs. unsigned int arg descrepancy.
David S. Miller [Wed, 5 Jun 2002 20:23:56 +0000 (13:23 -0700)]
SunRPC: Fix size_t vs. unsigned int arg descrepancy.

23 years agoFix generic device layer init sequence.
David S. Miller [Wed, 5 Jun 2002 20:22:35 +0000 (13:22 -0700)]
Fix generic device layer init sequence.
Generic BUS objects have to be registered before
devices assosciated with them are probed.  Therefore
subsys_initcall is inappropriate for such setups.
It does not work to use core_initcall for this because
the generic device layer bits need to be setup first too.
So we rename unused_initcall to postcore_initcall and use
this new initcall level for generic BUS object init.
This fixes bootup on Alpha, and Sparc64.  X86 was working
by what looks to be luck in link order.

23 years agoinit/main.c: Revert recent GCC requirement change.
David S. Miller [Wed, 5 Jun 2002 20:18:04 +0000 (13:18 -0700)]
init/main.c: Revert recent GCC requirement change.

23 years agoasm-generic.h: Add forward siginfo decl for the sake of
David S. Miller [Wed, 5 Jun 2002 20:17:27 +0000 (13:17 -0700)]
asm-generic.h: Add forward siginfo decl for the sake of
HAVE_ARCH_SIGINFO_T platforms.

23 years agoSparc32 code cleanups from 2.4.x.
Rob Radez [Wed, 5 Jun 2002 16:09:54 +0000 (09:09 -0700)]
Sparc32 code cleanups from 2.4.x.

23 years agokbuild: Use -nostdinc with kernel sources
Kai Germaschewski [Wed, 5 Jun 2002 15:16:38 +0000 (10:16 -0500)]
kbuild: Use -nostdinc with kernel sources

Kernel code should not include userspace headers. To avoid that
happening by mistake, ask gcc not to look into the usual places
when looking for headers. We still need to find gcc headers for
vararg and similar, though - achieved by the "-iwithprefix include"
which will look into <gcc-path>/include, as proposed by Russell
King.

A similar patch went into 2.4, so not much breakage expected.

23 years agokbuild: Fix tolower() usage in scripts/fixdep.c
Kai Germaschewski [Wed, 5 Jun 2002 15:06:25 +0000 (10:06 -0500)]
kbuild: Fix tolower() usage in scripts/fixdep.c

Not that it matters, since it's only used with 7bit chars, but
anyway.

23 years agokbuild:
Kai Germaschewski [Wed, 5 Jun 2002 14:51:41 +0000 (09:51 -0500)]
kbuild:

Remove absolute path in output of drivers/scsi/script_asm.pl
Extracted from Keith Owens' kbuild-2.5 by patch@luckynet.dynu.com.

23 years agokbuild: Remove 2048 symbol limit from make xconfig
Kai Germaschewski [Wed, 5 Jun 2002 14:46:15 +0000 (09:46 -0500)]
kbuild: Remove 2048 symbol limit from make xconfig

This patch was extracted from Keith Owens' kbuild-2.5 by
patch@luckynet.dynu.com

23 years agokbuild: Additional config targets for testing
Kai Germaschewski [Wed, 5 Jun 2002 14:40:54 +0000 (09:40 -0500)]
kbuild: Additional config targets for testing

This patch adds the following targets, which generate some configs
useful for testing - which kind should be clear from the names:

o allyesconfig
o allmodconfig
o allnoconfig
o randconfig

It also adds

o defconfig

which does the same as make oldconfig but uses the defaults for all
new options without asking.

The actual patch was done by Ghozlane Toumi, maintained in kbuild-2.5
by Keith Owens, and extracted by Sam Ravnborg and patch@luckynet.dynu.com.

23 years agokbuild: -DMODULE for assembler source
Kai Germaschewski [Wed, 5 Jun 2002 14:25:04 +0000 (09:25 -0500)]
kbuild: -DMODULE for assembler source

For consistency, it makes a lot of sense to add -DMODULE (plus
the other special switches with CONFIG_MODVERSIONS) to .S files
which get assembled. It surely fixes an ugly workaround for
sparc64, guess we'll see if it breaks something for other archs
(I wouldn't think so, though)

23 years agokbuild: Use a standard "update-if-changed"
Kai Germaschewski [Wed, 5 Jun 2002 12:23:17 +0000 (07:23 -0500)]
kbuild: Use a standard "update-if-changed"

For some cases, we cannot decide if a target would change just by looking
at its prequisites, i.e. it's quite likely that it remains the same
even though a prequisite changed. The updated timestamp would cause
a lot of unnecessary recompiles. In this case, we actually generate
a temporary file, compare it to the old file and only the contents
are different do overwrite the old file.

The "update-if-changed" snippet remains always the same, so let's
put it into a macro instead of duplicating it. After that change,
scripts/mkversion_h is so small that we rather put the three remaining
lines directly into the Makefile.

23 years agoAdded usb-midi driver from NAGANO Daisuke with some porting from me.
Greg Kroah-Hartman [Wed, 5 Jun 2002 09:49:34 +0000 (02:49 -0700)]
Added usb-midi driver from NAGANO Daisuke with some porting from me.

23 years ago[PATCH] Have core/drivers.c include <linux/gfp.h>
Tom Rini [Wed, 5 Jun 2002 09:47:59 +0000 (02:47 -0700)]
[PATCH] Have core/drivers.c include <linux/gfp.h>

Currently, drivers/usb/core/drivers.c includes <linux/mm.h> to get at
<linux/gfp.h>.  The following includes <linux/gfp.h> directly.