]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] sparse: mroute annotation
Alexander Viro [Thu, 3 Jun 2004 15:34:34 +0000 (08:34 -0700)]
[PATCH] sparse: mroute annotation

22 years ago[PATCH] sparse: more netfilter annotation
Alexander Viro [Thu, 3 Jun 2004 15:34:23 +0000 (08:34 -0700)]
[PATCH] sparse: more netfilter annotation

22 years ago[PATCH] sparse: sctp annotation
Alexander Viro [Thu, 3 Jun 2004 15:34:12 +0000 (08:34 -0700)]
[PATCH] sparse: sctp annotation

22 years ago[PATCH] sparse: bluetooth annotation
Alexander Viro [Thu, 3 Jun 2004 15:34:00 +0000 (08:34 -0700)]
[PATCH] sparse: bluetooth annotation

22 years ago[PATCH] sparse: vlan annotation
Alexander Viro [Thu, 3 Jun 2004 14:43:50 +0000 (07:43 -0700)]
[PATCH] sparse: vlan annotation

22 years ago[PATCH] sparse: irda annotation
Alexander Viro [Thu, 3 Jun 2004 14:43:39 +0000 (07:43 -0700)]
[PATCH] sparse: irda annotation

22 years ago[PATCH] sparse: netlink annotation
Alexander Viro [Thu, 3 Jun 2004 14:38:06 +0000 (07:38 -0700)]
[PATCH] sparse: netlink annotation

22 years ago[PATCH] sparse: net/bridge annotation
Alexander Viro [Thu, 3 Jun 2004 14:37:55 +0000 (07:37 -0700)]
[PATCH] sparse: net/bridge annotation

net/bridge partially annotated.

There are nasty problems with net/bridge/netfilter/* and they'll need to
be dealt with at some point - it mixes kernel and userland pointers a
lot and while it seems to avoid obvious breakage, it's not a nice code.

22 years ago[PATCH] sparse: wanrouter annotation
Alexander Viro [Thu, 3 Jun 2004 14:37:44 +0000 (07:37 -0700)]
[PATCH] sparse: wanrouter annotation

22 years ago[PATCH] sparse: econet annotation
Alexander Viro [Thu, 3 Jun 2004 14:37:33 +0000 (07:37 -0700)]
[PATCH] sparse: econet annotation

econet partially annotated.

It's still badly broken - it mixes userland and kernel chunks in the
same iovec, then does set_fs(KERNEL_FS) and sends that to
sock_sendmsg().  Do we still want to support that protocol family,
anyway?

22 years ago[PATCH] sparse: appletalk annotation
Alexander Viro [Thu, 3 Jun 2004 14:29:23 +0000 (07:29 -0700)]
[PATCH] sparse: appletalk annotation

22 years ago[PATCH] sparse: ipx annotation
Alexander Viro [Thu, 3 Jun 2004 14:29:13 +0000 (07:29 -0700)]
[PATCH] sparse: ipx annotation

22 years ago[PATCH] sparse: x25 annotation
Alexander Viro [Thu, 3 Jun 2004 14:27:41 +0000 (07:27 -0700)]
[PATCH] sparse: x25 annotation

22 years ago[PATCH] sparse: rose annotation
Alexander Viro [Thu, 3 Jun 2004 14:27:30 +0000 (07:27 -0700)]
[PATCH] sparse: rose annotation

22 years ago[PATCH] sparse: netrom annotation
Alexander Viro [Thu, 3 Jun 2004 14:27:19 +0000 (07:27 -0700)]
[PATCH] sparse: netrom annotation

22 years ago[PATCH] sparse: ax25 annotation
Alexander Viro [Thu, 3 Jun 2004 14:27:08 +0000 (07:27 -0700)]
[PATCH] sparse: ax25 annotation

22 years ago[PATCH] sparse: decnet annotation
Alexander Viro [Thu, 3 Jun 2004 14:26:57 +0000 (07:26 -0700)]
[PATCH] sparse: decnet annotation

22 years ago[PATCH] sparse: coda annotation
Alexander Viro [Thu, 3 Jun 2004 14:26:47 +0000 (07:26 -0700)]
[PATCH] sparse: coda annotation

22 years ago[PATCH] sparse: atm annotation - drivers
Alexander Viro [Thu, 3 Jun 2004 14:02:54 +0000 (07:02 -0700)]
[PATCH] sparse: atm annotation - drivers

The rest of ATM annotation: drivers.

22 years ago[PATCH] sparse: atm annotation (core)
Alexander Viro [Thu, 3 Jun 2004 14:02:43 +0000 (07:02 -0700)]
[PATCH] sparse: atm annotation (core)

ATM core annotated; ATM drivers will go in the next patch, here we only
annotated their method prototypes

22 years agoMerge bk://linux-dj.bkbits.net/cpufreq
Linus Torvalds [Thu, 3 Jun 2004 13:48:12 +0000 (06:48 -0700)]
Merge bk://linux-dj.bkbits.net/cpufreq
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[CPUFREQ] Convert longhaul debug printk to use varargs.
Dave Jones [Fri, 4 Jun 2004 00:53:06 +0000 (01:53 +0100)]
[CPUFREQ] Convert longhaul debug printk to use varargs.
From: Joe Perches.
Signed-off-by: Dave Jones <davej@redhat.com>
22 years ago[CPUFREQ] Remove bogus longhaul v4
Dave Jones [Fri, 4 Jun 2004 00:46:25 +0000 (01:46 +0100)]
[CPUFREQ] Remove bogus longhaul v4
The code only supports 3 versions, so numbering them 1,2 and 4
doesn't make a lot of sense.
Signed-off-by: Dave Jones <davej@redhat.com>
22 years ago[CPUFREQ] Move longhaul multiplier debug printk to somewhere more useful.
Dave Jones [Fri, 4 Jun 2004 00:44:00 +0000 (01:44 +0100)]
[CPUFREQ] Move longhaul multiplier debug printk to somewhere more useful.
If we abort due to a reserved FSB being found, we probably want to know the multipliers.

Signed-off-by: Dave Jones <davej@redhat.com>
22 years ago[CPUFREQ] Remove duplicate debug printk from longhaul driver.
Dave Jones [Fri, 4 Jun 2004 00:42:37 +0000 (01:42 +0100)]
[CPUFREQ] Remove duplicate debug printk from longhaul driver.
Signed-off-by: Dave Jones <davej@redhat.com>
22 years ago[CPUFREQ] Unify the EBLCR parsing code in longhaul.
Dave Jones [Fri, 4 Jun 2004 00:40:20 +0000 (01:40 +0100)]
[CPUFREQ] Unify the EBLCR parsing code in longhaul.
Signed-off-by: Dave Jones <davej@redhat.com>
22 years ago[CPUFREQ] Document some oddness in the longhaul driver.
Dave Jones [Fri, 4 Jun 2004 00:34:18 +0000 (01:34 +0100)]
[CPUFREQ] Document some oddness in the longhaul driver.
Signed-off-by: Dave Jones <davej@redhat.com>
22 years ago[CPUFREQ] Remove lots of redundant code from longhaul driver.
Dave Jones [Fri, 4 Jun 2004 00:29:42 +0000 (01:29 +0100)]
[CPUFREQ] Remove lots of redundant code from longhaul driver.
The recent Nehemiah changes introduced lots of stuff that does
a whole lot of nothing. Nuke it.

Signed-off-by: Dave Jones <davej@redhat.com>
22 years ago[CPUFREQ] Fix powernow-k7 when ACPI_PROCESSOR built as module.
Dave Jones [Fri, 4 Jun 2004 00:24:07 +0000 (01:24 +0100)]
[CPUFREQ] Fix powernow-k7 when ACPI_PROCESSOR built as module.

From Herbert Xu
Signed-off-by: Dave Jones <davej@redhat.com>
22 years ago[CPUFREQ] Change longhaul debugging info printk's to dprintk's
Dave Jones [Thu, 3 Jun 2004 23:34:21 +0000 (00:34 +0100)]
[CPUFREQ] Change longhaul debugging info printk's to dprintk's

22 years ago[CPUFREQ] Remove duplicate declaration of debug var from longhaul.
Dave Jones [Thu, 3 Jun 2004 17:00:55 +0000 (18:00 +0100)]
[CPUFREQ] Remove duplicate declaration of debug var from longhaul.
Spotted by Joe Perches.

I'm surprised gcc didn't at least warn about this.

Signed-off-by: Dave Jones <davej@redhat.com>
22 years agoMerge bk://linux-dj.bkbits.net/cpufreq
Dave Jones [Thu, 3 Jun 2004 14:23:23 +0000 (15:23 +0100)]
Merge bk://linux-dj.bkbits.net/cpufreq
into delerium.codemonkey.org.uk:/mnt/data/src/bk/cpufreq

22 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Thu, 3 Jun 2004 13:40:47 +0000 (06:40 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] drivers/atm/horizon.c delousing
Alexander Viro [Thu, 3 Jun 2004 13:38:25 +0000 (06:38 -0700)]
[PATCH] drivers/atm/horizon.c delousing

Same as with ambassador.c - same authors, same braindamage.

22 years ago[PATCH] drivers/atm/ambassador.c delousing
Alexander Viro [Thu, 3 Jun 2004 13:38:14 +0000 (06:38 -0700)]
[PATCH] drivers/atm/ambassador.c delousing

Translated to C.  Original was anything but.

BTW, even if they were writing in Pascal, their use of nested functions
would be gratuitous for such a situation.

22 years ago[PATCH] sparse: rest of drivers/block annotation
Alexander Viro [Thu, 3 Jun 2004 13:28:37 +0000 (06:28 -0700)]
[PATCH] sparse: rest of drivers/block annotation

22 years ago[PATCH] sparse: paride annotation
Alexander Viro [Thu, 3 Jun 2004 13:28:26 +0000 (06:28 -0700)]
[PATCH] sparse: paride annotation

22 years ago[PATCH] sparse: cpqarray annotation
Alexander Viro [Thu, 3 Jun 2004 13:28:16 +0000 (06:28 -0700)]
[PATCH] sparse: cpqarray annotation

22 years ago[PATCH] sparse: cciss annotation
Alexander Viro [Thu, 3 Jun 2004 13:28:05 +0000 (06:28 -0700)]
[PATCH] sparse: cciss annotation

cciss annotated, definition of inlined helpers moved up - before their
first use.

22 years ago[PATCH] sparse: DAC960 annotation
Alexander Viro [Thu, 3 Jun 2004 13:27:54 +0000 (06:27 -0700)]
[PATCH] sparse: DAC960 annotation

22 years ago[PATCH] sparse: drivers/pnp annotation
Alexander Viro [Thu, 3 Jun 2004 13:27:43 +0000 (06:27 -0700)]
[PATCH] sparse: drivers/pnp annotation

22 years ago[PATCH] sparse: drivers/md annotation
Alexander Viro [Thu, 3 Jun 2004 13:27:32 +0000 (06:27 -0700)]
[PATCH] sparse: drivers/md annotation

22 years ago[PATCH] sparse: drivers/cdrom annotation
Alexander Viro [Thu, 3 Jun 2004 13:27:21 +0000 (06:27 -0700)]
[PATCH] sparse: drivers/cdrom annotation

22 years ago[PATCH] sparse: drivers/cpufreq annotation
Alexander Viro [Thu, 3 Jun 2004 13:27:10 +0000 (06:27 -0700)]
[PATCH] sparse: drivers/cpufreq annotation

drivers/cpufreq annotated

22 years agosparse: annotate (and comment on) kmod.c user pointer usage
Linus Torvalds [Thu, 3 Jun 2004 12:54:49 +0000 (05:54 -0700)]
sparse: annotate (and comment on) kmod.c user pointer usage

Big comment, because it wasn't clear why this cast was valid.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] sparse: forte annotation
Alexander Viro [Thu, 3 Jun 2004 12:41:31 +0000 (05:41 -0700)]
[PATCH] sparse: forte annotation

forte annotated

22 years ago[PATCH] sparse: msnd annotation
Alexander Viro [Thu, 3 Jun 2004 12:41:21 +0000 (05:41 -0700)]
[PATCH] sparse: msnd annotation

msnd annotated

22 years ago[PATCH] sparse: ymfpci annotation
Alexander Viro [Thu, 3 Jun 2004 12:41:10 +0000 (05:41 -0700)]
[PATCH] sparse: ymfpci annotation

ymfpci annotated

22 years ago[PATCH] sparse: maestro annotation
Alexander Viro [Thu, 3 Jun 2004 12:40:59 +0000 (05:40 -0700)]
[PATCH] sparse: maestro annotation

maestro annotated

22 years ago[PATCH] sparse: btaudio annotation
Alexander Viro [Thu, 3 Jun 2004 12:40:48 +0000 (05:40 -0700)]
[PATCH] sparse: btaudio annotation

btaudio annotated

22 years ago[PATCH] sparse: ad1889 annotation
Alexander Viro [Thu, 3 Jun 2004 12:40:37 +0000 (05:40 -0700)]
[PATCH] sparse: ad1889 annotation

ad1889 annotated

22 years ago[PATCH] sparse: the rest of sound/* annotation
Alexander Viro [Thu, 3 Jun 2004 12:40:27 +0000 (05:40 -0700)]
[PATCH] sparse: the rest of sound/* annotation

Remaining bits and pieces in sound/oss annotated.

At that point sound/* is done - we have no noise warnings left there.

22 years ago[PATCH] sparse: maestro3 annotation
Alexander Viro [Thu, 3 Jun 2004 12:40:16 +0000 (05:40 -0700)]
[PATCH] sparse: maestro3 annotation

maestro3 annotated

22 years ago[PATCH] sparse: sonicvibes annotation
Alexander Viro [Thu, 3 Jun 2004 12:40:06 +0000 (05:40 -0700)]
[PATCH] sparse: sonicvibes annotation

sonicvibes annotated

22 years ago[PATCH] sparse: ali5455 annotation
Alexander Viro [Thu, 3 Jun 2004 12:39:55 +0000 (05:39 -0700)]
[PATCH] sparse: ali5455 annotation

ali5455 annotated

22 years ago[PATCH] sparse: cs46xx annotation
Alexander Viro [Thu, 3 Jun 2004 12:39:44 +0000 (05:39 -0700)]
[PATCH] sparse: cs46xx annotation

cs46xx annotated

22 years ago[PATCH] sparse: i810 annotation
Alexander Viro [Thu, 3 Jun 2004 12:39:33 +0000 (05:39 -0700)]
[PATCH] sparse: i810 annotation

i810 annotated

22 years ago[PATCH] sparse: rme96xx annotation
Alexander Viro [Thu, 3 Jun 2004 12:39:22 +0000 (05:39 -0700)]
[PATCH] sparse: rme96xx annotation

rme96xx annotated

22 years ago[PATCH] sparse: esssolo annotation
Alexander Viro [Thu, 3 Jun 2004 12:39:11 +0000 (05:39 -0700)]
[PATCH] sparse: esssolo annotation

esssolo annotated

22 years ago[PATCH] sparse: es1370 annotation
Alexander Viro [Thu, 3 Jun 2004 12:39:00 +0000 (05:39 -0700)]
[PATCH] sparse: es1370 annotation

es1370 annotated

22 years ago[PATCH] sparse: es1371 annotation
Alexander Viro [Thu, 3 Jun 2004 12:38:50 +0000 (05:38 -0700)]
[PATCH] sparse: es1371 annotation

es1371 annotated

22 years ago[PATCH] sparse: cmpci annotation
Alexander Viro [Thu, 3 Jun 2004 12:38:39 +0000 (05:38 -0700)]
[PATCH] sparse: cmpci annotation

cmpci annotated

22 years ago[PATCH] sparse: cs4281 annotation
Alexander Viro [Thu, 3 Jun 2004 12:38:28 +0000 (05:38 -0700)]
[PATCH] sparse: cs4281 annotation

cs4281 annotated

22 years ago[PATCH] sparse: rest of ALSA annotation
Alexander Viro [Thu, 3 Jun 2004 12:38:17 +0000 (05:38 -0700)]
[PATCH] sparse: rest of ALSA annotation

The rest of annotation for ALSA drivers; only OSS stuff left to do in
sound/*

22 years ago[PATCH] sparse: emu10k1 annotation
Alexander Viro [Thu, 3 Jun 2004 12:38:05 +0000 (05:38 -0700)]
[PATCH] sparse: emu10k1 annotation

emu10k1 annotated.

22 years ago[PATCH] sparse: rme9652 annotation
Alexander Viro [Thu, 3 Jun 2004 12:37:54 +0000 (05:37 -0700)]
[PATCH] sparse: rme9652 annotation

Annotated driver and ioctl structure used by it.

22 years ago[PATCH] sparse: trident annotation
Alexander Viro [Thu, 3 Jun 2004 12:37:43 +0000 (05:37 -0700)]
[PATCH] sparse: trident annotation

Both ALSA and OSS variants

22 years ago[PATCH] sparse: vx annotation
Alexander Viro [Thu, 3 Jun 2004 12:37:32 +0000 (05:37 -0700)]
[PATCH] sparse: vx annotation

Both PCI and PCMCIA variants of driver annotated

22 years ago[PATCH] sparse: sb annotation
Alexander Viro [Thu, 3 Jun 2004 12:37:22 +0000 (05:37 -0700)]
[PATCH] sparse: sb annotation

sb annotation (both ALSA and OSS drivers)

22 years ago[PATCH] sparse: wavefront annotation
Alexander Viro [Thu, 3 Jun 2004 11:19:22 +0000 (04:19 -0700)]
[PATCH] sparse: wavefront annotation

Both ALSA and OSS drivers + wavefront ioctl structure annotated.  NB:
both should be switched to generic firmware loading - as it is, they are
using a homegrown and rather ugly variant

22 years ago[PATCH] sparse: sscape annotation
Alexander Viro [Thu, 3 Jun 2004 11:19:11 +0000 (04:19 -0700)]
[PATCH] sparse: sscape annotation

22 years ago[PATCH] sparse: sound/isa/gus annotation
Alexander Viro [Thu, 3 Jun 2004 11:19:00 +0000 (04:19 -0700)]
[PATCH] sparse: sound/isa/gus annotation

GUS annotated.

22 years ago[PATCH] sparse: rest of sound/core
Alexander Viro [Thu, 3 Jun 2004 11:18:49 +0000 (04:18 -0700)]
[PATCH] sparse: rest of sound/core

The rest of sond/core annotated; reverted bogus addition of __user in
snd_seq_kernel_client_ctl() - I should've guessed from the name alone
;-)

22 years ago[PATCH] sparse: opl annatation
Alexander Viro [Thu, 3 Jun 2004 11:18:40 +0000 (04:18 -0700)]
[PATCH] sparse: opl annatation

Annotated sound/drivers/opl*

22 years ago[PATCH] sparse: sound/core/pcm* annotation
Alexander Viro [Thu, 3 Jun 2004 11:18:29 +0000 (04:18 -0700)]
[PATCH] sparse: sound/core/pcm* annotation

The tricky part here was an iterator that used to take a callback and
argument for that callback as parameters.  Iterator itself didn't care
what type that argument had been; it's entirely up to callback.  The
thing is, two callbacks expect (and get) char __user * while other two
expect (and also get) char __user **.

Iterator used to use void * as "opaque data"; I've switched it to
unsigned long.  Note that there was nothing that said "it's a pointer" -
use of callback that would take e.g.  int is also perfectly legitimate.

The rest is triviali annotation.

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
David S. Miller [Thu, 3 Jun 2004 10:55:46 +0000 (03:55 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
into kernel.bkbits.net:/home/davem/sparc-2.6

22 years ago[PATCH] sparse: annotation of include/sound (generic parts)
Alexander Viro [Thu, 3 Jun 2004 09:48:01 +0000 (02:48 -0700)]
[PATCH] sparse: annotation of include/sound (generic parts)

Annotated method prototypes, commonly used ioctl-only structures and
generic helpers.

Instances of methods in drivers are _not_ annotated at that point - they
will go with driver patches

22 years ago[PATCH] sparse: sound/core annotation - trivial part
Alexander Viro [Thu, 3 Jun 2004 09:47:51 +0000 (02:47 -0700)]
[PATCH] sparse: sound/core annotation - trivial part

Trivial parts of sound/core annotation.

22 years ago[PATCH] sparse: sound/core/timer.c fix
Alexander Viro [Thu, 3 Jun 2004 09:47:39 +0000 (02:47 -0700)]
[PATCH] sparse: sound/core/timer.c fix

copy_from_user() where copy_to_user() should've been.  Unfortunately, on
x86 they are almost identical, so it went unnoticed for quite a while.

22 years ago[PATCH] sparse: msnd sound fix
Alexander Viro [Thu, 3 Jun 2004 09:47:28 +0000 (02:47 -0700)]
[PATCH] sparse: msnd sound fix

msnd_pinnacle/msnd_classic do copy_{to,from}_user under a spinlock.

Taken out of spinlock (into a temp. buffer). Calls of msnd_fifo_{read,write}
always go from kernel buffer now, so we can drop the 'int user' argument in
them _and_ simplify error handling - all errors were from copy_..._user() and
now these are called directly by dsp_read()/dsp_write().

22 years ago[PATCH] sparse: sound sb fix
Alexander Viro [Thu, 3 Jun 2004 09:47:17 +0000 (02:47 -0700)]
[PATCH] sparse: sound sb fix

In some cases snd_sb_csp_load() did kmalloc() and copy_from_user()
under a spinlock.  Split into snd_sb_csp_load() and snd_sb_csp_load_user() -
ther former always from kernel pointer, the latter - from userland.
snd_sb_csp_load_user() doesn't take any locks itself, it just
does kmalloc, copy_from_user and calls snd_sb_csp_load() to do the rest.

22 years ago[PATCH] Add the sixth arg to the sys_futex() prototype.
Andrew Morton [Thu, 3 Jun 2004 09:12:53 +0000 (02:12 -0700)]
[PATCH] Add the sixth arg to the sys_futex() prototype.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-serial
Linus Torvalds [Thu, 3 Jun 2004 09:11:33 +0000 (02:11 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-serial
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[ARM PATCH] 1906/1: S3C2410: serial minor number fix
Ben Dooks [Thu, 3 Jun 2004 16:34:49 +0000 (17:34 +0100)]
[ARM PATCH] 1906/1: S3C2410: serial minor number fix

Patch from Ben Dooks

Fix the minor number of the serial device to be the same
as the configuration in the 2.4.x series kernels.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
Linus Torvalds [Thu, 3 Jun 2004 09:09:47 +0000 (02:09 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[ARM PATCH] 1890/2: Consolidate CPUFREQ handling in SOC PCMCIA driver
Ian Campbell [Thu, 3 Jun 2004 22:13:07 +0000 (23:13 +0100)]
[ARM PATCH] 1890/2:  Consolidate CPUFREQ handling in SOC PCMCIA driver

Patch from Ian Campbell

Rediffed against latest BK. Compiles on Assabet and my PXA255

platform. Tested on my 255 platform.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Thu, 3 Jun 2004 09:07:03 +0000 (02:07 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[ARM PATCH] 1910/1: rework Mainstone and IDP include files
Nicolas Pitre [Thu, 3 Jun 2004 21:04:33 +0000 (22:04 +0100)]
[ARM PATCH] 1910/1: rework Mainstone and IDP include files

Patch from Nicolas Pitre

Don't include them from hardware.h

22 years ago[ARM] Don't include lubbock.h in asm/arch/hardware.h
Russell King [Thu, 3 Jun 2004 18:01:25 +0000 (19:01 +0100)]
[ARM] Don't include lubbock.h in asm/arch/hardware.h

Since asm/arch/hardware.h is included (indirectly) by most kernel
files, we don't want all these files depending on the individual
machine support files, especially as only five files really require
the header.

Instead, explicitly include lubbock.h into files as necessary.

22 years ago[ARM PATCH] 1902/1: OMAP update 1/3: entry-armv.S
Tony Lindgren [Thu, 3 Jun 2004 16:21:54 +0000 (17:21 +0100)]
[ARM PATCH] 1902/1: OMAP update 1/3: entry-armv.S

Patch from Tony Lindgren

Update the IO register names in entry-armv.S

22 years ago[PATCH] ppc32: Fix locks.c properly this time
Paul Mackerras [Thu, 3 Jun 2004 08:06:05 +0000 (01:06 -0700)]
[PATCH] ppc32: Fix locks.c properly this time

When I moved the exports into arch/ppc/lib/locks.c, I forgot to
include module.h, so it doesn't compile (with CONFIG_SMP +
CONFIG_SPINLOCK_DEBUG).  This patch fixes it.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[SPARC64]: Update defconfig.
David S. Miller [Thu, 3 Jun 2004 07:54:24 +0000 (00:54 -0700)]
[SPARC64]: Update defconfig.

22 years ago[SPARC64]: New 6th arg of sys_futex needs sign extension.
David S. Miller [Thu, 3 Jun 2004 07:51:40 +0000 (00:51 -0700)]
[SPARC64]: New 6th arg of sys_futex needs sign extension.

22 years ago[SBUS]: Further cleanup of scsi driver header usage.
Christoph Hellwig [Thu, 3 Jun 2004 07:44:52 +0000 (00:44 -0700)]
[SBUS]: Further cleanup of scsi driver header usage.

22 years ago[ATM]: Simplify fore200e DMA macros even further.
Christoph Hellwig [Thu, 3 Jun 2004 07:44:08 +0000 (00:44 -0700)]
[ATM]: Simplify fore200e DMA macros even further.

22 years ago[PATCH] DMA mode setup fixes for piix.c/ata_piix.c
Bartlomiej Zolnierkiewicz [Thu, 3 Jun 2004 06:16:15 +0000 (23:16 -0700)]
[PATCH] DMA mode setup fixes for piix.c/ata_piix.c

From: Go Taniguchi <go@turbolinux.co.jp> (Turbolinx Inc.)

Change reg48 and reg54 in 8bit access and remove unused reg44.

Jeff acked ata_piix.c part.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] Export swapper_space
Russell King [Thu, 3 Jun 2004 01:26:30 +0000 (18:26 -0700)]
[PATCH] Export swapper_space

swapper_space is needed by at least loop/st/sg these days.

22 years ago[PATCH] ppc32: Reduce WARN_ON(0) to nothing
Paul Mackerras [Thu, 3 Jun 2004 01:22:18 +0000 (18:22 -0700)]
[PATCH] ppc32: Reduce WARN_ON(0) to nothing

The last patch I sent means that we have WARN_ON(0) in a couple of
places when CONFIG_PREEMPT=n.  This patch makes that reduce to
nothing (rather than a conditional trap on a 0 value), and also makes
BUG_ON(0) reduce to nothing for completeness.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc32: Fix preemptible check
Paul Mackerras [Thu, 3 Jun 2004 01:22:08 +0000 (18:22 -0700)]
[PATCH] ppc32: Fix preemptible check

Ben H added a check in a couple of places to make sure that we had
preemption disabled when we call enable_kernel_{fp,altivec}.
Unfortunately the check he used trips in the case when
CONFIG_PREEMPT=n.  This patch fixes it by defining a preemptible()
macro (which reduces to 0 when CONFIG_PREEMPT=n) and doing
WARN_ON(preemptible()).

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ppc32: Make ppc32 PCI code more robust
Paul Mackerras [Thu, 3 Jun 2004 01:21:57 +0000 (18:21 -0700)]
[PATCH] ppc32: Make ppc32 PCI code more robust

The main thrust of this patch is to make the ppc32 PCI code more
robust by checking for bus->resource[] being NULL before using it.  We
can legitimately get elements of bus->resource being NULL and I have
actually hit that on some machines.  This patch also allows resources
starting at 0 to be accepted as assigned (we can and do get PCI
resources starting at 0 in I/O space on PPC machines) and provides a
sensible default for the case where Open Firmware doesn't give us a
bus-range property for a PCI bridge.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>