]> git.hungrycats.org Git - linux/log
linux
22 years ago[NET]: Decrease skb->cb[] to 40 bytes.
David S. Miller [Thu, 29 Jul 2004 10:34:40 +0000 (03:34 -0700)]
[NET]: Decrease skb->cb[] to 40 bytes.

No control block usage, even on 64-bit, needs
the full current 48 bytes.  This brings sk_buff
size down to 256 bytes on 64-bit platforms and
fixes some performance regressions due to the
addition of the input_dev member.

Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[NET]: Convert netrom to use module_param.
Stephen Hemminger [Thu, 29 Jul 2004 08:53:08 +0000 (01:53 -0700)]
[NET]: Convert netrom to use module_param.

Convert Netrom to use module_param

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[NET]: Convert ROSE to use module_param.
Stephen Hemminger [Thu, 29 Jul 2004 08:52:33 +0000 (01:52 -0700)]
[NET]: Convert ROSE to use module_param.

Switch to module_param and the hash list can be local.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[NET]: Allow MD5 to be a module
Herbert Xu [Thu, 29 Jul 2004 08:48:49 +0000 (01:48 -0700)]
[NET]: Allow MD5 to be a module

I found that recent 2.6 kernels no longer allowed me to build MD5 as
a module even though everything that used it were modules (including
ipv6 and sctp).  It turns out that there were boolean options
selecting MD5 in the Kconfig files.  Due to limitations in the current
kconfig implementation, this forces MD5 to be a boolean as well.

The usual workaround in these cases is to move the selection up
to the closest tristate.  This is what the following patch does.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[PKT_SCHED]: Fix pkt_cls.h incompatabilities.
Jamal Hadi Salim [Thu, 29 Jul 2004 08:45:05 +0000 (01:45 -0700)]
[PKT_SCHED]: Fix pkt_cls.h incompatabilities.

Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[PATCH 1/1]: net/sunrpc/xprt.c gcc341 inlining fix
Andrew Morton [Thu, 29 Jul 2004 08:34:34 +0000 (01:34 -0700)]
[PATCH 1/1]: net/sunrpc/xprt.c gcc341 inlining fix

From: Mikael Pettersson <mikpe@csd.uu.se>

gcc-3.4.1 errors out in 2.6.8-rc1-mm1 at net/sunrpc/xprt.c:

net/sunrpc/xprt.c: In function 'xprt_reserve':
net/sunrpc/xprt.c:84: sorry, unimplemented: inlining failed in call to 'do_xprt_reserve': function body not available
net/sunrpc/xprt.c:1307: sorry, unimplemented: called from here
make[2]: *** [net/sunrpc/xprt.o] Error 1
make[1]: *** [net/sunrpc] Error 2
make: *** [net] Error 2

do_xprt_reserve() is marked inline but used defore its function
body is available. Moving it before its only caller fixes the problem.

Signed-off-by: Mikael Pettersson <mikpe@csd.uu.se>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[PATCH 8/8] gcc-3.5 fixes
Andrew Morton [Thu, 29 Jul 2004 08:32:58 +0000 (01:32 -0700)]
[PATCH 8/8] gcc-3.5 fixes

From: Andi Kleen <ak@muc.de>

Trivial gcc-3.5 build fixes.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[PATCH 7/8] gcc-3.5 fixes
Andrew Morton [Thu, 29 Jul 2004 08:32:28 +0000 (01:32 -0700)]
[PATCH 7/8] gcc-3.5 fixes

From: Andi Kleen <ak@muc.de>

Trivial gcc-3.5 build fixes.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[PATCH 6/8] gcc-3.5 fixes
Andrew Morton [Thu, 29 Jul 2004 08:31:58 +0000 (01:31 -0700)]
[PATCH 6/8] gcc-3.5 fixes

From: Andi Kleen <ak@muc.de>

Trivial gcc-3.5 build fixes.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[PATCH 5/8] gcc-3.5 fixes
Andrew Morton [Thu, 29 Jul 2004 08:31:29 +0000 (01:31 -0700)]
[PATCH 5/8] gcc-3.5 fixes

From: Andi Kleen <ak@muc.de>

Trivial gcc-3.5 build fixes.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[PATCH 4/8] gcc-3.5 fixes
Andrew Morton [Thu, 29 Jul 2004 08:30:56 +0000 (01:30 -0700)]
[PATCH 4/8] gcc-3.5 fixes

From: Andi Kleen <ak@muc.de>

Trivial gcc-3.5 build fixes.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[PATCH 3/8] gcc-3.5 fixes
Andrew Morton [Thu, 29 Jul 2004 08:30:16 +0000 (01:30 -0700)]
[PATCH 3/8] gcc-3.5 fixes

From: Andi Kleen <ak@muc.de>

Trivial gcc-3.5 build fixes.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[PATCH 2/8] gcc-3.5 fixes
Andrew Morton [Thu, 29 Jul 2004 08:28:08 +0000 (01:28 -0700)]
[PATCH 2/8] gcc-3.5 fixes

From: Andi Kleen <ak@muc.de>

Trivial gcc-3.5 build fixes.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[PATCH 1/8] gcc-3.5 fixes
Andrew Morton [Thu, 29 Jul 2004 08:27:24 +0000 (01:27 -0700)]
[PATCH 1/8] gcc-3.5 fixes

From: Andi Kleen <ak@muc.de>

Trivial gcc-3.5 build fixes.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[BRIDGE]: RCU fix
Stephen Hemminger [Thu, 29 Jul 2004 07:41:53 +0000 (00:41 -0700)]
[BRIDGE]: RCU fix

Follow up to earlier RCU patch.  Since now using RCU, need to use
deferred free.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[BRIDGE]: forwarding table RCU
Stephen Hemminger [Thu, 29 Jul 2004 07:41:06 +0000 (00:41 -0700)]
[BRIDGE]: forwarding table RCU

Convert the bridge forwarding database over to using RCU.
This avoids a read_lock and atomic_inc/dec in the fast path
of output.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[BRIDGE]: linkstate handling
Stephen Hemminger [Thu, 29 Jul 2004 07:40:24 +0000 (00:40 -0700)]
[BRIDGE]: linkstate handling

This makes bridge port status reflect both the state of the interface
from software (up/down) and the carrier.  It makes STP handle link failure
(cable breakage, etc).  The original concept comes from a
Mark Ruijter <bridge@siennax.com> who implemented it differently.
My way is simpler and requires no polling.

Obviously, this link state detection will only work if the network card
handles the events properly.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[BRIDGE]: dev_xmit cleanup
Stephen Hemminger [Thu, 29 Jul 2004 07:39:35 +0000 (00:39 -0700)]
[BRIDGE]: dev_xmit cleanup

The br_dev_xmit function was broken in two pieces (needlessly).
Put it back together.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[BRIDGE]: Propagate bridge internal MTU changes
Stephen Hemminger [Thu, 29 Jul 2004 07:38:51 +0000 (00:38 -0700)]
[BRIDGE]: Propagate bridge internal MTU changes

Need to propagate MTU changes that the bridge does to it's pseudo interface
up to others. There ends up being a double call to br_min_mtu() but that's
harmless.

Cleans up the EXPORT_SYMBOLS including dev_change_flags which is used by vlan.
Shouldn't be basing exports on kernel config options like this.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[NET]: Convert pktgen to use module_param
Stephen Hemminger [Wed, 28 Jul 2004 12:07:06 +0000 (05:07 -0700)]
[NET]: Convert pktgen to use module_param

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[NET]: Convert ethertap to use module_param
Stephen Hemminger [Wed, 28 Jul 2004 12:06:32 +0000 (05:06 -0700)]
[NET]: Convert ethertap to use module_param

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years agoMerge bk://bk.skbuff.net:20608/linux-2.6-misc/
David S. Miller [Wed, 28 Jul 2004 11:59:49 +0000 (04:59 -0700)]
Merge bk://bk.skbuff.net:20608/linux-2.6-misc/
into nuts.davemloft.net:/disk1/BK/net-2.6

22 years ago[IPV6] add missing known icmpv6 types.
Hideaki Yoshifuji [Thu, 29 Jul 2004 11:07:10 +0000 (20:07 +0900)]
[IPV6] add missing known icmpv6 types.

Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
22 years ago[IPV6] fix the order of icmpv6 definitions for consistency.
Hideaki Yoshifuji [Thu, 29 Jul 2004 11:04:10 +0000 (20:04 +0900)]
[IPV6] fix the order of icmpv6 definitions for consistency.

Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
22 years ago[IPV6] remove unused macro.
Hideaki Yoshifuji [Thu, 29 Jul 2004 11:02:25 +0000 (20:02 +0900)]
[IPV6] remove unused macro.

22 years ago[IPV6] fix typoes in macro definitions.
Hideaki Yoshifuji [Thu, 29 Jul 2004 11:00:59 +0000 (20:00 +0900)]
[IPV6] fix typoes in macro definitions.

Signed-Off-By: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
22 years ago[IPSEC]: xfrm_user code forgets to call xfrm_probe_algs()
Masahide Nakamura [Wed, 28 Jul 2004 11:56:51 +0000 (04:56 -0700)]
[IPSEC]: xfrm_user code forgets to call xfrm_probe_algs()

Signed-off-by: Masahide Nakmura <nakam@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[NET]: Use msleep() in sungem driver.
Nishanth Aravamudan [Wed, 28 Jul 2004 11:55:35 +0000 (04:55 -0700)]
[NET]: Use msleep() in sungem driver.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[BRIDGE]: Fix typo in br_stp.c
Tommi Virtanen [Wed, 28 Jul 2004 11:54:13 +0000 (04:54 -0700)]
[BRIDGE]: Fix typo in br_stp.c

Signed-off-by: Tommi Virtanen <tv@tv.debian.net>
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[NET]: Remove useless variable in rtnetlink_rcv_msg
Patrick McHardy [Wed, 28 Jul 2004 11:49:15 +0000 (04:49 -0700)]
[NET]: Remove useless variable in rtnetlink_rcv_msg

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[NET]: Kill rtnl_exlock stubs.
Stephen Hemminger [Wed, 28 Jul 2004 11:48:20 +0000 (04:48 -0700)]
[NET]: Kill rtnl_exlock stubs.

Rtnetlink has some macro's that are relics from earlier locking.
They are only used a couple of places so are easy to kill.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[PKT_SCHED]: de-inline qdiscipline locking functions
Stephen Hemminger [Wed, 28 Jul 2004 11:45:36 +0000 (04:45 -0700)]
[PKT_SCHED]: de-inline qdiscipline locking functions

This qdisc code has several inline functions for locking that is only
used when adding/deleting queuing disciplines; so make them functions
instead.  The new qdisc_lock_tree encapsulates the locking used throughout
this code.

Also qdisc_run() is only called from net/core/dev.c so it should be
defined there.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[AH6]: Get things working again.
Herbert Xu [Wed, 28 Jul 2004 02:01:51 +0000 (19:01 -0700)]
[AH6]: Get things working again.

Re: [AH6] Disable mutable bits after AH header

Unfortunately I broke ah6_input() in that patch.  Thanks to Miyazawa-san
for notifying me of the problem.

In that patch I removed the nh_offset parameter to ipv6_clear_mutable_options.
That broke ah6_input() because it relies on that variable to set the nexthdr.

The following patch fixes this by moving this work out to the caller
xfrm6_rcv() where the information is already available.  It also removes
an unnecessary call to ip6_find_1stfragopt() in xfrm6_rcv() since nhoffp
already points to the nexthdr preceding the current header.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[ATM]: [lec] remove unnecessary inlines (from Adrian Bunk <bunk@fs.tum.de>)
Chas Williams [Wed, 28 Jul 2004 02:00:10 +0000 (19:00 -0700)]
[ATM]: [lec] remove unnecessary inlines (from Adrian Bunk <bunk@fs.tum.de>)

Signed-off-by: Adrian Bunk <bunk@fs.tum.de>
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years agoMerge http://linux-mh.bkbits.net/bluetooth-2.6
David S. Miller [Wed, 28 Jul 2004 01:53:16 +0000 (18:53 -0700)]
Merge http://linux-mh.bkbits.net/bluetooth-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

22 years ago[IPV6]: Fix gcc-341 inlining for real.
Con Kolivas [Wed, 28 Jul 2004 01:51:56 +0000 (18:51 -0700)]
[IPV6]: Fix gcc-341 inlining for real.

Signed-off-by: Con Kolivas <kernel@kolivas.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[Bluetooth] Replace schedule_timeout() with msleep()
Marcel Holtmann [Wed, 28 Jul 2004 01:46:33 +0000 (03:46 +0200)]
[Bluetooth] Replace schedule_timeout() with msleep()

Use msleep() instead of schedule_timeout() to guarantee the task
delays at least the desired time amount.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
22 years ago[Bluetooth] Replace BCSP retransmitting message with BT_DBG
Marcel Holtmann [Wed, 28 Jul 2004 01:42:21 +0000 (03:42 +0200)]
[Bluetooth] Replace BCSP retransmitting message with BT_DBG

The message "Timeout, retransmitting 1 pkts" is not an error and so
change this into a debug message.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
22 years ago[PATCH] x86-64 fixes
Andi Kleen [Tue, 27 Jul 2004 15:15:19 +0000 (08:15 -0700)]
[PATCH] x86-64 fixes

This fixes several small but serious x86-64 bugs in 2.6.8rc2:

 - Fix array overflow in PCI bus checking (Travis Betak)
 - Fix broken pci_map_sg in swiotlb (Suresh B. Siddha)
 - Remove bogus bus check in IOMMU code

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.6
Linus Torvalds [Tue, 27 Jul 2004 07:57:26 +0000 (00:57 -0700)]
Merge bk://gkernel.bkbits.net/net-drivers-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] prism54 Fix null pointer reference (Bug 100)
Margit Schubert-While [Tue, 27 Jul 2004 08:24:01 +0000 (04:24 -0400)]
[PATCH] prism54 Fix null pointer reference (Bug 100)

* prism54_get/set_debug_oid are missing checks for a null pointer.
  Reported in Bugzilla number 100.

22 years ago[PATCH] prism54 Fix initialization with older firmware
Margit Schubert-While [Tue, 27 Jul 2004 08:23:53 +0000 (04:23 -0400)]
[PATCH] prism54 Fix initialization with older firmware

* In the card initialization routine, we try to set the
  output power. For firmware < 1.0.4.3, this leads to a
  worrying "mgt_commit has failed .." in the log although
  the device continues to react normally.
  Fix is simple, do not try to configure output power.
  (which I believe we should not be doing anyway as it is
   probably against local country regulations)

22 years ago[PATCH] prism54 Refix TRDY/RETRY_TIMEOUT
Margit Schubert-While [Tue, 27 Jul 2004 08:23:44 +0000 (04:23 -0400)]
[PATCH] prism54 Refix TRDY/RETRY_TIMEOUT

* Reintroduce pushing 0 into the TRDY_TIMEOUT and RETRY_TIMEOUT
  registers. Make this configurable with module parameter
  init_pcitm.

* We now have the ludicrous situation that some hardware setups
  require this (not even pushing 0xFF helps), whilst others
  don't care either way (the majority), and yet others bork
  if anything is pushed into these regs.
  If anybody can explain this (including Conexant :-) ), my ears
  are open.

22 years ago[PATCH] prism54 Fix reference to uninitialized pointer
Margit Schubert-While [Tue, 27 Jul 2004 08:23:35 +0000 (04:23 -0400)]
[PATCH] prism54 Fix reference to uninitialized pointer

* oid_mgt.c is calling islpci_mgt_transaction passing the address
  of a pointer to the management frame. This is not being
  initialized by the caller. The callee only updates this
  pointer when successful. When not, boom.

* Being ultracautious again, not only initialize in the caller,
  also null out the pointer unconditionally in the callee.

22 years agoia64: Update for elf_read_implies_exec() macro changes in mainline tree.
David Mosberger [Mon, 26 Jul 2004 15:26:59 +0000 (08:26 -0700)]
ia64: Update for elf_read_implies_exec() macro changes in mainline tree.

22 years agoMerge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.5
David Mosberger [Mon, 26 Jul 2004 15:05:09 +0000 (08:05 -0700)]
Merge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.5
into tiger.hpl.hp.com:/data1/bk/lia64/to-linus-2.5

22 years agoia64: Update defconfig
David Mosberger [Mon, 26 Jul 2004 14:56:04 +0000 (07:56 -0700)]
ia64: Update defconfig

22 years ago[PATCH] wrong ifdef in ppc/kernel/setup.c (nvram)
Alexander Viro [Mon, 26 Jul 2004 14:05:10 +0000 (07:05 -0700)]
[PATCH] wrong ifdef in ppc/kernel/setup.c (nvram)

Wrong ifdef around ppc nvram_read_byte() - it should be
CONFIG_GENERIC_NVRAM.

[that's it for today; there's more (fb stuff), but I'd rather make that
a separate series]

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cpumask updates in open_pic.c (ppc)
Alexander Viro [Mon, 26 Jul 2004 14:04:59 +0000 (07:04 -0700)]
[PATCH] cpumask updates in open_pic.c (ppc)

compile fixes in open_pic.c - it missed cpumask conversion in several
places.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] inline reordering in drivers/*
Alexander Viro [Mon, 26 Jul 2004 14:04:48 +0000 (07:04 -0700)]
[PATCH] inline reordering in drivers/*

usual "shift definition of inlines before their uses" in a couple of
places in drivers/*

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] signed char fixes in drivers/*
Alexander Viro [Mon, 26 Jul 2004 14:04:36 +0000 (07:04 -0700)]
[PATCH] signed char fixes in drivers/*

a couple of "replace char with explicit s8 to make sure it's really
signed" fixes.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] drivers/ieee1394 annotation
Alexander Viro [Mon, 26 Jul 2004 14:04:25 +0000 (07:04 -0700)]
[PATCH] drivers/ieee1394 annotation

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] broken stuff marked as such in Kconfig
Alexander Viro [Mon, 26 Jul 2004 14:04:13 +0000 (07:04 -0700)]
[PATCH] broken stuff marked as such in Kconfig

a) ppc KGDB builds only on two subarch; say so in Kconfig
b) ide-pmac.c can't be a module; make it dependent on IDE=y.
c) a bunch of isdn drivers is broken on ppc; marked as such
d) oaknet is broken; marked as such (includes on files that do not
exist, etc.)
e) buslogic and cyber2000 are broken on sparc64
f) s3trio framebuffer is broken
g) usual 8250-based serial is broken on sparc64; in principle it might
be worth supporting (there are PCI cards of that sort), for now marked as
broken (no asm/serial.h, to start with).

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] missing (void) in reiserfs on big-endian boxen
Alexander Viro [Mon, 26 Jul 2004 14:04:02 +0000 (07:04 -0700)]
[PATCH] missing (void) in reiserfs on big-endian boxen

Usual foo ? void : non-void  in reiserfs; gets triggered on big-endian
platforms.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] asm-ppc/reg.h namespace pollution fixes
Alexander Viro [Mon, 26 Jul 2004 14:03:51 +0000 (07:03 -0700)]
[PATCH] asm-ppc/reg.h namespace pollution fixes

asm-ppc/reg.h defines pollutes namespace like there's no tomorrow;
among other things there are
LR
SR0...SR15
DEC
etc.

That breaks quite a few drivers that should otherwise work on ppc.  SR...
and LR were never used by ppc code; commented out in reg.h (note that
they are just aliases for SPRN_SR... and SPRN_LR).  RPA commented out and
its instances in ppc code (all four of them) replaced with SPRN_RPA.  Ditto
for DEC.  The rest of the offenders (DAR and PVR) are left alone for now and
#undef'ed in drivers in question.

We probably want to rip all these guys out of reg.h and convert ppc users
to SPRN_... forms - file ends up included in alot of places and namespace
pollution like that is a Bad Thing(tm).

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] ffb_context annotation
Alexander Viro [Mon, 26 Jul 2004 14:03:39 +0000 (07:03 -0700)]
[PATCH] ffb_context annotation

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] pointer-to-int conversion fixes
Alexander Viro [Mon, 26 Jul 2004 14:03:29 +0000 (07:03 -0700)]
[PATCH] pointer-to-int conversion fixes

Assorted pointer-to-int fixes:
a) some places want to take pointer modulo alignment or extract
integer that was cast to pointer (which is legitimate), but do that via
wrong cast, triggering sparse warnings.
b) usual %x (int)ptr -> %p ptr fixes

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] drivers/macintosh annotations
Alexander Viro [Mon, 26 Jul 2004 14:03:17 +0000 (07:03 -0700)]
[PATCH] drivers/macintosh annotations

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] via-velocity switched use of to if_mii()
Alexander Viro [Mon, 26 Jul 2004 14:03:05 +0000 (07:03 -0700)]
[PATCH] via-velocity switched use of to if_mii()

Either it got missed back when if_mii() was introduced, or it got merged
that way later.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] dpt_i2o annotations
Alexander Viro [Mon, 26 Jul 2004 14:02:54 +0000 (07:02 -0700)]
[PATCH] dpt_i2o annotations

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] zoran switched to seq_file
Alexander Viro [Mon, 26 Jul 2004 14:02:43 +0000 (07:02 -0700)]
[PATCH] zoran switched to seq_file

zoran procfs code switched to seq_file and cleaned up; a bunch of homegrown
procfs glue eliminated.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] cciss compat ioctl fix
Alexander Viro [Mon, 26 Jul 2004 14:02:32 +0000 (07:02 -0700)]
[PATCH] cciss compat ioctl fix

cciss compat ioctls were broken (mixing kernel and userland pointers);
fixed (and cleaned up) by switch to compat_alloc_user_space() and elimination
of set_fs().

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] annotations for arch/ppc and include/asm-ppc
Alexander Viro [Mon, 26 Jul 2004 14:02:20 +0000 (07:02 -0700)]
[PATCH] annotations for arch/ppc and include/asm-ppc

Usual set - explicit -D<arch>=1 for sparse, __sighandler_t / __sigrestore_t
annotated, annotations in arch/ppc/kernel/*, etc. - same as for other platforms

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] #if abuses in drivers/*
Alexander Viro [Mon, 26 Jul 2004 14:02:09 +0000 (07:02 -0700)]
[PATCH] #if abuses in drivers/*

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] CONFIG_MCOUNT fix for sparc64
Alexander Viro [Mon, 26 Jul 2004 14:01:57 +0000 (07:01 -0700)]
[PATCH] CONFIG_MCOUNT fix for sparc64

CONFIG_MCOUNT on sparc64 is currently broken; we have both mcount and _mcount
declared (and aliased to each other), but end up exporting the wrong one.  As
the result, with that option all modules get unresolved symbol.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] NULL noise removal in drivers/*
Alexander Viro [Mon, 26 Jul 2004 14:01:45 +0000 (07:01 -0700)]
[PATCH] NULL noise removal in drivers/*

it could be split (all chunks are obviously independent), but I don't think
that it's worth doing.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] drm/gamma_old_dma.h fix
Alexander Viro [Mon, 26 Jul 2004 14:01:32 +0000 (07:01 -0700)]
[PATCH] drm/gamma_old_dma.h fix

blind dereferencing of userland pointer

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] NULL noise removal on ppc
Alexander Viro [Mon, 26 Jul 2004 14:01:20 +0000 (07:01 -0700)]
[PATCH] NULL noise removal on ppc

0->NULL in arch/ppc and include/asm-ppc.

[That's it for this series - there's still ~200Kb to merge, but I'd rather
take a break for a couple of hours before dealing with the rest]

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] sparc32 emulation annotated
Alexander Viro [Mon, 26 Jul 2004 14:01:08 +0000 (07:01 -0700)]
[PATCH] sparc32 emulation annotated

annotated, a bunch of ioctls switched to compat_alloc_user_space() and
cleaned up.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] solaris emulation annotated
Alexander Viro [Mon, 26 Jul 2004 14:00:57 +0000 (07:00 -0700)]
[PATCH] solaris emulation annotated

trivial annotations and cleanups + proper use of vfs_...stat().

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] #if abuse in drivers/net/*
Alexander Viro [Mon, 26 Jul 2004 14:00:46 +0000 (07:00 -0700)]
[PATCH] #if abuse in drivers/net/*

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] NULL noise removal in drivers/net/*
Alexander Viro [Mon, 26 Jul 2004 14:00:34 +0000 (07:00 -0700)]
[PATCH] NULL noise removal in drivers/net/*

That definitely duplicates a bunch of stuff in pending patches from various
folks, but since it's all trivial 0->NULL replacements and patches are still
not submitted and/or merged...

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] mtd fixes
Alexander Viro [Mon, 26 Jul 2004 14:00:21 +0000 (07:00 -0700)]
[PATCH] mtd fixes

Assorted mtd fixes.
a) NULL noise removal
b) %p pointer instead of %x (int)pointer in printks
c) missed iovec->kvec replacements (basically, fixing merge problems)
d) fixed type for (unused) last argument in doc_{read,write}_ecc()
e) sanitized some comparisons.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] impi annotation
Alexander Viro [Mon, 26 Jul 2004 14:00:10 +0000 (07:00 -0700)]
[PATCH] impi annotation

drivers/char/ipmi/* annotated, structure shared between kernel and
userland (ioctls) split in two.
ACPI callback in the same code used to have wrong type - it should've been
void (...), not u32 (...).  Fixed.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] bpck6 compile fix on ppc
Alexander Viro [Mon, 26 Jul 2004 13:59:59 +0000 (06:59 -0700)]
[PATCH] bpck6 compile fix on ppc

bpck6 was b0rken on ppc in rather amusing way - it used
typedef struct ... PPC;
which doesn't mix with having PPC (pre)defined to 1.  Fixed by renaming private
typedef in question.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] more NULL noise removal in fs/*
Alexander Viro [Mon, 26 Jul 2004 13:59:48 +0000 (06:59 -0700)]
[PATCH] more NULL noise removal in fs/*

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] openpromfs annotation
Alexander Viro [Mon, 26 Jul 2004 13:59:37 +0000 (06:59 -0700)]
[PATCH] openpromfs annotation

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] security/selinux/hooks.c compile fix
Alexander Viro [Mon, 26 Jul 2004 13:59:25 +0000 (06:59 -0700)]
[PATCH] security/selinux/hooks.c compile fix

added missing #include

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] broken stuff in sound/* marked as such in Kconfig
Alexander Viro [Mon, 26 Jul 2004 13:59:14 +0000 (06:59 -0700)]
[PATCH] broken stuff in sound/* marked as such in Kconfig

a) OSS is broken on sparc64 (as in "won't compile")
b) sb16_csp is broken on ppc
marked as such in Kconfig

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] misc sound/* fixes
Alexander Viro [Mon, 26 Jul 2004 13:59:03 +0000 (06:59 -0700)]
[PATCH] misc sound/* fixes

a) ALSA variant of wavefront didn't compile on gcc 2.x with debugging
turned on - authors heard something about variadic macros on gcc 2.x,
but screwed it up.  Fixed.
b) au88x0 relied on char being signed in non-trivial ways.  On ppc it's
not true.  Fixed by explicit use of s8 (which is what that code really
wants).

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] dmasound annotation
Alexander Viro [Mon, 26 Jul 2004 13:58:52 +0000 (06:58 -0700)]
[PATCH] dmasound annotation

dmasound (core + ppc-specific parts) annotated

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] check_region fixes
Alexander Viro [Mon, 26 Jul 2004 13:58:41 +0000 (06:58 -0700)]
[PATCH] check_region fixes

A couple of old ISA drivers had trivial to fix check_region() uses.
Sanitized.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] tea575 fix
Alexander Viro [Mon, 26 Jul 2004 13:58:29 +0000 (06:58 -0700)]
[PATCH] tea575 fix

Very confused ioctl in tea575x - it is called via video_usercopy(), but
assumes that it still has userland pointers.  Fixed.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] #if abuse is sound/*
Alexander Viro [Mon, 26 Jul 2004 13:58:17 +0000 (06:58 -0700)]
[PATCH] #if abuse is sound/*

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] more NULL noise removal in sound/*
Alexander Viro [Mon, 26 Jul 2004 13:58:06 +0000 (06:58 -0700)]
[PATCH] more NULL noise removal in sound/*

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] bluetooth annotations
Alexander Viro [Mon, 26 Jul 2004 13:57:53 +0000 (06:57 -0700)]
[PATCH] bluetooth annotations

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] rndis fix
Alexander Viro [Mon, 26 Jul 2004 13:57:42 +0000 (06:57 -0700)]
[PATCH] rndis fix

blind dereferencing of userland pointers in procfs ->write() in rndis.c

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] appletalk SIOCADDRT fix
Alexander Viro [Mon, 26 Jul 2004 13:57:31 +0000 (06:57 -0700)]
[PATCH] appletalk SIOCADDRT fix

blind dereferencing of userland pointer in appletalk SIOCADDRT handling.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[PATCH] size_t portability fixes
Alexander Viro [Mon, 26 Jul 2004 13:57:19 +0000 (06:57 -0700)]
[PATCH] size_t portability fixes

A lot of places assumed that size_t == unsigned; on 64bit boxen that is not
true.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Mon, 26 Jul 2004 12:54:51 +0000 (05:54 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

22 years agoia64: Oops, SN2 needs pending_irq_cpumask to be global.
David Mosberger [Mon, 26 Jul 2004 09:37:27 +0000 (02:37 -0700)]
ia64: Oops, SN2 needs pending_irq_cpumask to be global.

22 years agoia64: Clean up arch/ia64/kernel/irq.c a bit.
David Mosberger [Mon, 26 Jul 2004 05:49:58 +0000 (22:49 -0700)]
ia64: Clean up arch/ia64/kernel/irq.c a bit.

22 years ago[PATCH] ia64: fix bug in irq_affinity_write_proc()
Kenji Kaneshige [Mon, 26 Jul 2004 05:43:40 +0000 (22:43 -0700)]
[PATCH] ia64: fix bug in irq_affinity_write_proc()

Writing 'R' or 'r' character to /proc/irq/<IRQ#>/smp_affinity
cause a kernel Oops. The following patch fixes this issue.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: David Mosberger <davidm@hpl.hp.com>
22 years ago[PATCH] populate nonlinear mappings unconditionally
Oleg Nesterov [Mon, 26 Jul 2004 03:21:02 +0000 (20:21 -0700)]
[PATCH] populate nonlinear mappings unconditionally

filemap_populate and shmem_populate must install even a linear file_pte,
in case there was a nonlinear page or file_pte already installed there:
could only happen if already VM_NONLINEAR, but no need to check that.

Acked by Ingo and Hugh.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
22 years ago[IPV6]: Fix route.c gcc-3.4.x inlining error.
Con Kolivas [Sun, 25 Jul 2004 10:22:52 +0000 (03:22 -0700)]
[IPV6]: Fix route.c gcc-3.4.x inlining error.

Fixes the inline error when compiling net/ipv6/route.c with gcc-3.4.1

Signed-off-by: Con Kolivas <kernel@kolivas.org>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years ago[XFRM]: Wake up km_waitq once per gc-run instead of once per state.
Patrick McHardy [Sun, 25 Jul 2004 09:54:54 +0000 (02:54 -0700)]
[XFRM]: Wake up km_waitq once per gc-run instead of once per state.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@redhat.com>
22 years agoCset exclude: davem@nuts.davemloft.net|ChangeSet|20040723204655|22654
David S. Miller [Sun, 25 Jul 2004 09:49:54 +0000 (02:49 -0700)]
Cset exclude: davem@nuts.davemloft.net|ChangeSet|20040723204655|22654

22 years ago[PATCH] sparse: simplify and tighten sparse typechecking
Alexander Viro [Sun, 25 Jul 2004 04:12:16 +0000 (21:12 -0700)]
[PATCH] sparse: simplify and tighten sparse typechecking

This takes advantage of the simplified typeof semantics of sparse
address spaces, (should be enough for alpha, i386, ppc, ppc64, sparc,
sparc64, x86_64 - most of them didn't actually need anything to be done)
and couple of missing annotations that got caught by that.

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/net-2.6
David S. Miller [Sat, 24 Jul 2004 23:27:58 +0000 (16:27 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/net-2.6
into kernel.bkbits.net:/home/davem/net-2.6

22 years ago[SCTP]: Fix mis-merge.
David S. Miller [Sat, 24 Jul 2004 15:41:08 +0000 (08:41 -0700)]
[SCTP]: Fix mis-merge.