]> git.neil.brown.name Git - history.git/log
history.git
21 years ago[PATCH] srat: initdata section references
Randy Dunlap [Sun, 27 Feb 2005 08:10:07 +0000 (00:10 -0800)]
[PATCH] srat: initdata section references

srat's node_to_pxm() references pxm2node[] after init. so pxm2node[]
should not be __initdata.

Error: ./arch/x86_64/mm/srat.o .text refers to 0000000000000008 R_X86_64_32S      .init.data
Error: ./arch/x86_64/mm/srat.o .text refers to 0000000000000015 R_X86_64_32S      .init.data

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Sun, 27 Feb 2005 07:55:31 +0000 (23:55 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[AF_UNIX]: Fix SIOCINQ for STREAM and SEQPACKET.
David S. Miller [Sun, 27 Feb 2005 03:15:10 +0000 (19:15 -0800)]
[AF_UNIX]: Fix SIOCINQ for STREAM and SEQPACKET.

We should report the total bytes in the whole receive
queue, not just the first packet, in these cases.

Reported by Uwe Bonnes.

Signed-off-by: David S. Miller <davem@davemloft.net>
21 years ago[IPV4]: Fix lost routes in fn_hash netlink dumps.
David S. Miller [Sun, 27 Feb 2005 03:10:03 +0000 (19:10 -0800)]
[IPV4]: Fix lost routes in fn_hash netlink dumps.

Spotted by itkes@fat.imed.msu.ru, the fn_hash_dump_bucket() main
loop does not increment 'i' properly, and thus routes will not
be listed, when the test 'i < s_i' passes.

The bug was added when the code was converted over to
hlist_for_each_entry() by your's truly.

Signed-off-by: David S. Miller <davem@davemloft.net>
21 years agoMerge bk://bart.bkbits.net/ide-2.6
Linus Torvalds [Sun, 27 Feb 2005 02:27:30 +0000 (18:27 -0800)]
Merge bk://bart.bkbits.net/ide-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Sat, 26 Feb 2005 08:05:55 +0000 (00:05 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years agoProperly limit keyboard keycodes to KEY_MAX.
Linus Torvalds [Sat, 26 Feb 2005 02:12:16 +0000 (18:12 -0800)]
Properly limit keyboard keycodes to KEY_MAX.

It can only be set by root, but let's not tempt people to do
things that can't work.

21 years ago[PATCH] more apic.c
Andries E. Brouwer [Sat, 26 Feb 2005 02:03:27 +0000 (18:03 -0800)]
[PATCH] more apic.c

setup_APIC_timer is only called in __init context and uses __initdata

21 years ago[PATCH] __initdata in apic.c
Andries E. Brouwer [Sat, 26 Feb 2005 02:03:13 +0000 (18:03 -0800)]
[PATCH] __initdata in apic.c

wait_timer_tick refers to the __init functions wait_8254_wraparound
or wait_hpet_tick, hence must be __initdata.

21 years ago[PATCH] remove __initdata in scsi_devinfo.c
Andries E. Brouwer [Sat, 26 Feb 2005 02:02:59 +0000 (18:02 -0800)]
[PATCH] remove __initdata in scsi_devinfo.c

scsi_dev_flags is referred to in
module_param_string(dev_flags, scsi_dev_flags, sizeof(scsi_dev_flags), 0);

21 years ago[PATCH] __init in cfq-iosched.c
Andries E. Brouwer [Sat, 26 Feb 2005 02:02:45 +0000 (18:02 -0800)]
[PATCH] __init in cfq-iosched.c

cfq_init() calls __init cfq_slab_setup and hence must be __init itself

also made it static

21 years ago[PATCH] __devinitdata in parport_pc
Andries E. Brouwer [Sat, 26 Feb 2005 02:02:30 +0000 (18:02 -0800)]
[PATCH] __devinitdata in parport_pc

parport_init_mode is referred to in int __devinit sio_via_probe().

21 years ago[PATCH] USB: Fix usbfs regression
Aurelien Jarno [Fri, 25 Feb 2005 12:28:59 +0000 (04:28 -0800)]
[PATCH] USB: Fix usbfs regression

I have just tested kernel version 2.6.11-rc5 and noticed it is not
possible to do an USB transfer by submitting an URB to an output
endpoint.  This breaks newest versions of libusb and thus SANE, gphoto2,
and a lot of software.

The bug was introduced in version 2.6.11-rc1 and is due to a wrong
comparison.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years agoFix possible pty line discipline race.
Linus Torvalds [Fri, 25 Feb 2005 11:39:39 +0000 (03:39 -0800)]
Fix possible pty line discipline race.

This ain't pretty. Real fix under discussion.

21 years ago[PATCH] Fix incorrect __init on 'modedb[]' array
Olaf Hering [Fri, 25 Feb 2005 08:51:25 +0000 (00:51 -0800)]
[PATCH] Fix incorrect __init on 'modedb[]' array

modedb can not be __init because fb_find_mode() (which is not __init)
may get db == NULL.  fb_find_mode() is called from modules.

Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years agoMerge nuts.davemloft.net:/disk1/BK/network-2.6
David S. Miller [Fri, 25 Feb 2005 08:37:17 +0000 (00:37 -0800)]
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Fri, 25 Feb 2005 08:35:58 +0000 (00:35 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ARM] Fix dma_mmap() size argument.
Russell King [Fri, 25 Feb 2005 19:47:46 +0000 (19:47 +0000)]
[ARM] Fix dma_mmap() size argument.

We were passing the size of the region in pages, where as
remap_pfn_range expected the size in bytes.

Signed-off-by: Russell King <rmk@arm.linux.org.uk>
21 years ago[PATCH] binfmt_elf build fix
Andrew Morton [Fri, 25 Feb 2005 06:17:57 +0000 (22:17 -0800)]
[PATCH] binfmt_elf build fix

The cast to void still triggers the gcc "warning: ignoring return value"
warning, which is dumb of it.  So ignore the return value differently.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] USB: fix bug in acm's open function
Greg Kroah-Hartman [Fri, 25 Feb 2005 06:17:43 +0000 (22:17 -0800)]
[PATCH] USB: fix bug in acm's open function

Here's a patch for 2.6.11-rc5 that a lot of cdc-acm driver users are
clamoring for.

There's a bug introduced in a cleanup which will lead to a race making
reopenings fail.  This fix is by Alexander Lykanov.

Signed-off-by: Oliver Neukum <oliver@neukum.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] Make keyctl(KEYCTL_JOIN_SESSION_KEYRING) use the correct arg
David Howells [Fri, 25 Feb 2005 06:17:30 +0000 (22:17 -0800)]
[PATCH] Make keyctl(KEYCTL_JOIN_SESSION_KEYRING) use the correct arg

The attached patch makes keyctl() use the correct argument when invoking
the KEYCTL_JOIN_SESSION_KEYRING function.

I'm not sure how this evaded testing before, but I suspect the compiler was
kind and made both argument registers hold the same value.

Thanks to Kevin Coffman <kwc@citi.umich.edu> for spotting this.

Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc64: hugepage hash flushing bugfix
David Gibson [Fri, 25 Feb 2005 00:48:33 +0000 (16:48 -0800)]
[PATCH] ppc64: hugepage hash flushing bugfix

This fixes a potentially bad (although very rarely triggered) bug in the
ppc64 hugepage code.

hpte_update() did not correctly calculate the address for hugepages, so
pte_clear() (which we use for hugepage ptes as well as normal ones)
would not correctly flush the hash page table entry.  Under the right
circumstances this could potentially lead to duplicate hash entries,
which is very bad.

davem's upcoming patch to pass the virtual address directly to set_pte()
and its ilk will obsolete this, but this is bad enough it should
probably be fixed in the meantime.

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Acked-by: William Irwin <wli@holomorphy.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[ide] fix IRQ masking in ide_do_request()
Bartlomiej Zolnierkiewicz [Thu, 24 Feb 2005 13:02:05 +0000 (14:02 +0100)]
[ide] fix IRQ masking in ide_do_request()

Revert to previous way of handling masked_irq argument.
Reported to fix problems with shared PCI IRQs.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
21 years ago[ide] fix build for built-in hpt366 and modular ide-disk
Bartlomiej Zolnierkiewicz [Thu, 24 Feb 2005 12:14:08 +0000 (13:14 +0100)]
[ide] fix build for built-in hpt366 and modular ide-disk

* always call __ide_do_rw_disk() in ide_do_rw_disk()
* modify ide_hwif_t->rw_disk hook accordingly
* update and cleanup hpt372n_rw_disk()
  (the only user of ide_hwif_t->rw_disk hook)
* make __ide_do_rw_disk() static + fix comment

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
21 years ago[ide] make 1-bit fields unsigned
Randy Dunlap [Thu, 24 Feb 2005 12:01:48 +0000 (13:01 +0100)]
[ide] make 1-bit fields unsigned

It's a bit difficult to have a value and a sign bit in a
1-bit field.

Fix (90) boolean/bitfield sparse warnings:
include/linux/ide.h:937:18: warning: dubious one-bit signed bitfield
include/linux/ide.h:939:17: warning: dubious one-bit signed bitfield

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
21 years agoMerge bk://bk.skbuff.net:20611/linux-2.6-sysctl/
David S. Miller [Wed, 23 Feb 2005 12:02:03 +0000 (04:02 -0800)]
Merge bk://bk.skbuff.net:20611/linux-2.6-sysctl/
into nuts.davemloft.net:/disk1/BK/net-2.6

21 years ago[PKTGEN]: reduce stack usage
Robert Olsson [Wed, 23 Feb 2005 11:59:02 +0000 (03:59 -0800)]
[PKTGEN]: reduce stack usage

From Randy Dunlap

Signed-off-by: David S. Miller <davem@davemloft.net>
21 years ago[NETFILTER]: ipt_hashlimit rule load time race condition
Harald Welte [Wed, 23 Feb 2005 11:50:04 +0000 (03:50 -0800)]
[NETFILTER]: ipt_hashlimit rule load time race condition

This is the best we've got: We cannot release and re-grab lock,
since checkentry() is called before ip_tables.c grabs ipt_mutex.
We also cannot grab the hashtable spinlock, since htable_create will
call vmalloc, and that can sleep.  And we cannot just re-search
the list of htable's in htable_create(), since then we would
create duplicate proc files.

Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
21 years ago[PKTGEN]: Replace interruptible_sleep_on_timeout()
Robert Olsson [Wed, 23 Feb 2005 11:48:15 +0000 (03:48 -0800)]
[PKTGEN]: Replace interruptible_sleep_on_timeout()

From Nishanth Aravamudan <nacc@us.ibm.com>

Signed-off-by: David S. Miller <davem@davemloft.net>
21 years ago[IPV6]: Unregister per-device snmp6 proc entry earlier.
Hideaki Yoshifuji [Wed, 23 Feb 2005 11:44:58 +0000 (03:44 -0800)]
[IPV6]: Unregister per-device snmp6 proc entry earlier.

Do it in addrconf_ifdown.  This fixes OOPSes on shutdown
with 2.6.10

Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
21 years ago[NETFILTER]: Prevent NAT from seeing fragments
Patrick McHardy [Wed, 23 Feb 2005 11:38:18 +0000 (03:38 -0800)]
[NETFILTER]: Prevent NAT from seeing fragments

The path for loopback is:
LOCAL_OUT: conntrack defrags
POST_ROUTING: conntrack refrags
PRE_ROUTING: skip conntrack defrag because skb->nfct != NULL
PRE_ROUTING: NAT gets hit by fragments

Always defrag on loopback if NAT is compiled in.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Acked-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
21 years agoLinux 2.6.11-rc5 v2.6.11-rc5
Linus Torvalds [Wed, 23 Feb 2005 09:44:08 +0000 (01:44 -0800)]
Linux 2.6.11-rc5

21 years agoMerge pobox.com:/garz/repo/netdev-2.6/r8169
Jeff Garzik [Wed, 23 Feb 2005 13:20:22 +0000 (08:20 -0500)]
Merge pobox.com:/garz/repo/netdev-2.6/r8169
into pobox.com:/garz/repo/net-drivers-2.6

21 years ago[PATCH] r8169: factor out some code.
François Romieu [Wed, 23 Feb 2005 13:19:32 +0000 (08:19 -0500)]
[PATCH] r8169: factor out some code.

Factor out some code

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
21 years ago[PATCH] r8169: IRQ races during change of mtu
François Romieu [Wed, 23 Feb 2005 13:19:19 +0000 (08:19 -0500)]
[PATCH] r8169: IRQ races during change of mtu

IRQ races during change of mtu
- NAPI poll must be enabled prior to IRQ activation or the IRQ handler
  will not know what to do with an incoming packet;
- rtl8169_down() needs to try twice to sync with the IRQ handler when
  it is not issued under !netif_running() protection.

Both changes make it safe to request a change of mtu on a live device.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
21 years ago[PATCH] Fix possible futex mmap_sem deadlock
Olof Johansson [Wed, 23 Feb 2005 05:56:33 +0000 (21:56 -0800)]
[PATCH] Fix possible futex mmap_sem deadlock

Some futex functions do get_user calls while holding mmap_sem for
reading.  If get_user() faults, and another thread happens to be in mmap
(or somewhere else holding waiting on down_write for the same
semaphore), then do_page_fault will deadlock.  Most architectures seem
to be exposed to this.

To avoid it, make sure the page is available.  If not, release the
semaphore, fault it in and retry.

I also found another exposure by inspection, moving some of the code
around avoids the possible deadlock there.

Signed-off-by: Olof Johansson <olof@austin.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years agoMerge bk://gkernel.bkbits.net/libata-2.6
Linus Torvalds [Wed, 23 Feb 2005 05:36:17 +0000 (21:36 -0800)]
Merge bk://gkernel.bkbits.net/libata-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[libata] Add missing hooks, to avoid oops in advanced SATA drivers
Jeff Garzik [Wed, 23 Feb 2005 09:47:10 +0000 (04:47 -0500)]
[libata] Add missing hooks, to avoid oops in advanced SATA drivers

Advanced SATA drivers should not (and cannot) use the basic
PCI IDE hooks for checking the Status and Error registers, as these
registers are either in non-standard locations, or simply don't
exist.

In the error handling path, libata was unconditionally calling some
PCI IDE hardware bitbanging functions, which would cause an oops
in the AHCI driver and any other advanced libata driver.

21 years agoagp: aper_base is unsigned
Linus Torvalds [Wed, 23 Feb 2005 02:33:11 +0000 (18:33 -0800)]
agp: aper_base is unsigned

Not that anybody cares about the sign, but the signed type does
the wrong thing for right shifts. Which we had.

21 years ago[PATCH] device-mapper: dm-raid1 deadlock fix
Alasdair G. Kergon [Wed, 23 Feb 2005 00:42:01 +0000 (16:42 -0800)]
[PATCH] device-mapper: dm-raid1 deadlock fix

Fix a dm-raid1 deadlock: nested spinlocks with _irq.

Signed-Off-By: Alasdair G Kergon <agk@redhat.com>
From: Tim Burgess <tim.burgess@anu.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ALPS: do not activate on unsupported models
Dmitry Torokhov [Wed, 23 Feb 2005 00:41:49 +0000 (16:41 -0800)]
[PATCH] ALPS: do not activate on unsupported models

It feels like 2.6.11 is right around the corner.  I would like to disable
ALPS suport for some devices we don't know how to handle properly yet to
cut down on number of complaints that we broke mouse support.

Input: ALPS - do not activate native mode for devices whose data
       we can not handle yet.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc64: fix compilation for Maple board
Paul Mackerras [Wed, 23 Feb 2005 00:41:36 +0000 (16:41 -0800)]
[PATCH] ppc64: fix compilation for Maple board

A patch that I sent in earlier to allow the use of the data address
breakpoint on machines with a hypervisor happened to break things for those
configs, such as for the Maple board, where we don't compile in the
routines for calling the hypervisor.  This patch fixes it.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc32: Wrong vaddr in flush_hash_one_pte()
Benjamin Herrenschmidt [Tue, 22 Feb 2005 23:36:23 +0000 (15:36 -0800)]
[PATCH] ppc32: Wrong vaddr in flush_hash_one_pte()

Reworking the ppc32 mm helps me find interesting bugs in the existing bug,
well, brown paper bag for me, I made this one a while ago.

The routine flush_hash_one_pte() used by ptep_test_and_clear_young()
wasn't properly recaclulating the vaddr from the pte pointer &
page->index.  The result is that we probably never flushed things from
the hash, so that's at least the _second_ bug affecting
ptep_test_and_clear_young(), swap on ppc32 must have been really broken
:(

This fixes it.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years agoMerge pobox.com:/garz/repo/linux-2.6
Jeff Garzik [Tue, 22 Feb 2005 16:19:43 +0000 (11:19 -0500)]
Merge pobox.com:/garz/repo/linux-2.6
into pobox.com:/garz/repo/libata-2.6

21 years ago[PATCH] r8169: uniformize comments
François Romieu [Tue, 22 Feb 2005 15:44:49 +0000 (10:44 -0500)]
[PATCH] r8169: uniformize comments

Uniformize comments

Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
21 years ago[PATCH] r8169: removal of unused #define
François Romieu [Tue, 22 Feb 2005 15:44:37 +0000 (10:44 -0500)]
[PATCH] r8169: removal of unused #define

Removal of unused #define

Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
21 years ago[PATCH] r8169: skb alignment nitpicking
François Romieu [Tue, 22 Feb 2005 15:44:25 +0000 (10:44 -0500)]
[PATCH] r8169: skb alignment nitpicking

Nail an overrun in skb alignment and remove the relevant magic variable.

Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
21 years ago[PATCH] r8169: fix rx skb allocation error logging
François Romieu [Tue, 22 Feb 2005 15:44:13 +0000 (10:44 -0500)]
[PATCH] r8169: fix rx skb allocation error logging

Fix rx skb allocation error logging

Signed arithmetic is not required as rtl8169_rx_fill() return belongs
to the [0; NUM_RX_DESC] interval.

Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
21 years agoMerge pobox.com:/garz/repo/linux-2.6
Jeff Garzik [Tue, 22 Feb 2005 15:33:13 +0000 (10:33 -0500)]
Merge pobox.com:/garz/repo/linux-2.6
into pobox.com:/garz/repo/netdev-2.6/r8169

21 years ago[PATCH] NFS: Further fixes for the -onolock case.
Trond Myklebust [Tue, 22 Feb 2005 12:22:00 +0000 (04:22 -0800)]
[PATCH] NFS: Further fixes for the -onolock case.

Duh... GETLK returns F_UNLCK if and only if the lock could be placed.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc32: kernel mapping breakage
Benjamin Herrenschmidt [Tue, 22 Feb 2005 12:21:46 +0000 (04:21 -0800)]
[PATCH] ppc32: kernel mapping breakage

Christoph Lameter's patch that change page allocators to use GFP_ZERO
broke ppc32 in a subtle way. Our allocator is designed to work before
mem_init_done, in which cases it uses a ppc specific early_get_page()
which doesn't return zeroed pages. However, he removed the call to
clear_page() unconditionally, thus causing the kernel initial page
tables to have random data in them.

They are initialized with set_pte, which means it's _mostly_ harmless,
except that set_pte on ppc32 preserves the _PAGE_HASHPTE bit, thus we
end up with random bits there, which can cause issues with further
manipulation of the kernel page tables and will slow down all hash
faults to them causing unnecessary searches.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] Fix NR_OPEN header order dependency
Tom Rini [Tue, 22 Feb 2005 08:32:48 +0000 (00:32 -0800)]
[PATCH] Fix NR_OPEN header order dependency

Move <linux/limits.h> back up in <linux/fs.h>, to get the right ordering
for the NR_OPEN dual define (ugh).

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] Re-order <linux/fs.h> includes to fix userland breakage
Tom Rini [Tue, 22 Feb 2005 06:12:49 +0000 (22:12 -0800)]
[PATCH] Re-order <linux/fs.h> includes to fix userland breakage

The following moves all includes <linux/fs.h> (except <linux/ioctl.h>
and <linux/config.h> down to below the existing __KERNEL__ test.  None
of these includes are needed by the user-visible portions of the header,
and in some cases can cause userland apps to break.

For example, LTP and sash with an empty <linux/autoconf.h> will fail
thusly:

  cc -Wall  -I../../include -g -Wall -I../../../../include -Wall    setrlimit02.c -L../../../../lib -lltp  -o setrlimit02
  In file included from /usr/include/asm/atomic.h:6,
                   from /usr/include/linux/fs.h:20,
                   from setrlimit02.c:46:
  /usr/include/asm/processor.h:68: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
  /usr/include/asm/processor.h:68: error: requested alignment is not a constant

Build/run tested with a glibc rebuild as well.

Signed-off-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[TCP]: Fix excessive stack usage resulting in OOPS with 4KSTACKS.
Arnaldo Carvalho de Melo [Tue, 22 Feb 2005 02:48:28 +0000 (18:48 -0800)]
[TCP]: Fix excessive stack usage resulting in OOPS with 4KSTACKS.

Various routines were putting a full struct tcp_sock on
the local stack.  What they really wanted was a subset
of this information when doing TCP options processing
when we only have a mini-socket (for example in SYN-RECVD
and TIME_WAIT states).

Therefore pull out the needed information into a sub-struct
and use that in the TCP options processing routines.

Signed-off-by: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
Signed-off-by: David S. Miller <davem@davemloft.net>
21 years ago[PATCH] Build failure with !CONFIG_PCI and with CONFIG_ISAPNP=y && CONFIG_PNPBIOS=y
Mika Kukkonen [Mon, 21 Feb 2005 23:30:32 +0000 (15:30 -0800)]
[PATCH] Build failure with !CONFIG_PCI and with CONFIG_ISAPNP=y && CONFIG_PNPBIOS=y

Trying to build latest BK-kernel with !CONFIG_PCI and with CONFIG_ISAPNP=y
and CONFIG_PNPBIOS=y I got the following build error:

  LD    vmlinux
drivers/built-in.o(.text+0x5486): In function
'pnpbios_parse_allocated_irqresource':
: undefined reference to 'pcibios_penalize_isa_irq'

Clearly pcibios_penalize_isa_irq() is meant to be called only with
CONFIG_PCI=y.

Signed-off-by: Mika Kukkonen <mikukkon@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc64: Fix 32bit largepage issue
Anton Blanchard [Mon, 21 Feb 2005 23:30:18 +0000 (15:30 -0800)]
[PATCH] ppc64: Fix 32bit largepage issue

The paca holds a shadow of the context struct, used for the real mode SLB
handler.  When we open up a new segment we have to sync up the paca copy
otherwise we will instantiate small page SLB entries until the next context
switch (at which point we resync the paca copy).

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] x86_64: resource layout fix
Andrew Morton [Mon, 21 Feb 2005 23:30:04 +0000 (15:30 -0800)]
[PATCH] x86_64: resource layout fix

Greg's tree changes the order of fields in struct reasource, causing x86_64 to
explode nastily.  Fix.

Cc: Greg KH <greg@kroah.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] au1100: fix io_remap_page_range() arg. list
Randy Dunlap [Mon, 21 Feb 2005 23:29:51 +0000 (15:29 -0800)]
[PATCH] au1100: fix io_remap_page_range() arg. list

Fix io_remap_page_range() call to pass a missing arg.

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] sparc64 usb build fix
Andrew Morton [Mon, 21 Feb 2005 23:29:37 +0000 (15:29 -0800)]
[PATCH] sparc64 usb build fix

We need asm/irq.h for __irq_itoa() on sparc[64].

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] sparc64 rusage build fix
Andrew Morton [Mon, 21 Feb 2005 23:29:24 +0000 (15:29 -0800)]
[PATCH] sparc64 rusage build fix

Some patch in -mm causes the sparc64 build to explode because `struct rusage'
isn't defined or declared in compat.h.   So forward-declare it.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc32: resource layout fixes
Andrew Morton [Mon, 21 Feb 2005 23:29:10 +0000 (15:29 -0800)]
[PATCH] ppc32: resource layout fixes

Use named initialisers.

Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] alpha: struct resource fix
Andrew Morton [Mon, 21 Feb 2005 23:28:56 +0000 (15:28 -0800)]
[PATCH] alpha: struct resource fix

Used named initialisers in this declaration before Greg's tree's struct
resource layout changes come in and break it.

(Probably "dma page reg" shouldn't have spaces in the name - be friendly to
/proc/ioports parsers?)

Cc: Richard Henderson <rth@twiddle.net>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[TCP]: Fix BIC max_cwnd calculation error.
Stephen Hemminger [Mon, 21 Feb 2005 08:33:57 +0000 (00:33 -0800)]
[TCP]: Fix BIC max_cwnd calculation error.

The BIC TCP cwnd problem as identified by Yee-Ting Li and Doug Leith
is that the computation is recalc_ssthresh is incorrect and
BICTCP_1_OVER_BETA/2 should be BICTCP_1_OVER_BETA*2.

My fix is to implement the code from BIC TCP 1.1 which uses a sysctl
to set the beta.  There are a few variable name changes from the 1.1
code, and made the scaling factor a #define instead of hardcoded.

I validated this using netem and kprobes, for more details see
http://developer.osdl.org/shemminger/bic-beta-patch.pdf

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
21 years ago[PATCH] libata kfree fix
Jeff Garzik [Mon, 21 Feb 2005 06:48:18 +0000 (22:48 -0800)]
[PATCH] libata kfree fix

Fixes double-kfree that caused slab corruption.

Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] ppc32: fix ptep_test_and_clear_young
Benjamin Herrenschmidt [Mon, 21 Feb 2005 01:37:02 +0000 (17:37 -0800)]
[PATCH] ppc32: fix ptep_test_and_clear_young

ppc32's implementation of ptep_test_and_clear_young() has a logic error
which makes it fail to flush the hash table. Thus PAGE_ACCESSED is
almost never set again after beeing cleared (unless something else cause
that hash entry to be flushed).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] natsemi long cable fix
Gary N. Spiess [Sun, 20 Feb 2005 16:18:44 +0000 (11:18 -0500)]
[PATCH] natsemi long cable fix

This is a minor modification to the previous patch submission that does
not assume the default contents of the DSPCFG register are zero.

When used with Revision D of the DP83815, the "Recommended Registers
Configuration" from page 78 of the DP83815 data sheet is not entirely
compatible with the driver's "short cable patch".  When the DSPCFG
register is written with the value suggested in the document, then
do_cable_magic() can't read the DSP coefficient and determines that all
cables attached to the DP83815D are 'short', regardless of actual
length.  Short cables (< 30m) cause do_cable_magic to enable additional
attenuation to reduce CRC and idle errors.  If the extra attenuation is
unintentionally enabled for long cables (> 50m?), they will not operate
properly.  The National Semiconductor driver, 'dp83815.c' from
http://www.national.com/appinfo/networks/files/linux_2_4.tar.gz was used
as a basis for this modification.

Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
21 years ago[PATCH] S2io: Multicast fix
Ravinandan Arakali [Sun, 20 Feb 2005 15:46:04 +0000 (10:46 -0500)]
[PATCH] S2io: Multicast fix

Attached is the patch to address the incorrect programming of
individual multicast address into the NIC.

Signed-off-by: Ravinandan Arakali <ravinandan.arakali@neterion.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
21 years ago[PATCH] strip.c build fix
Andrew Morton [Sun, 20 Feb 2005 15:22:38 +0000 (10:22 -0500)]
[PATCH] strip.c build fix

Someone added a new dev_set_mac_address() to netdevice.h

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
21 years agox86: when choosing PCI starting address, print out gap information
Linus Torvalds [Sun, 20 Feb 2005 04:51:20 +0000 (20:51 -0800)]
x86: when choosing PCI starting address, print out gap information

This makes for better messages on what is going on. It also
allows us (if we want to), to pick the PCI starting address
somewhere else in the gap. That may be a good idea (ie do a

pci_mem_start = (gapstart + (gapsize >> 3) + 0xfffff) & ~0xfffff;

or similar.

21 years agoBe more careful about looking for gaps in the e820 table.
Linus Torvalds [Sun, 20 Feb 2005 04:16:12 +0000 (20:16 -0800)]
Be more careful about looking for gaps in the e820 table.

We really don't care about anything beyond the 4GB mark,
so make the tests for that explicit (and add a comment),
and use regular "unsigned long" for the gap information.

21 years agoMerge bk://bart.bkbits.net/ide-2.6
Linus Torvalds [Sun, 20 Feb 2005 02:44:35 +0000 (18:44 -0800)]
Merge bk://bart.bkbits.net/ide-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ide] Kconfig for VR1000 machine driver selection
Ben Dooks [Sun, 20 Feb 2005 15:55:31 +0000 (16:55 +0100)]
[ide] Kconfig for VR1000 machine driver selection

Fix the use of CONFIG_MACH_VR1000, which was missing an
trailing zero from the configuration variable, so never
being shown if only the VR1000 was selected

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
21 years ago[ide] small compile fix to ide.c with !CONFIG_PCI
Mika Kukkonen [Sun, 20 Feb 2005 15:51:35 +0000 (16:51 +0100)]
[ide] small compile fix to ide.c with !CONFIG_PCI

Small patch to fix following warning with CONFIG_IDE && !CONFIG_PCI:

  CC drivers/ide/ide.o
drivers/ide/ide.c: In function 'ide_system_bus_speed':
drivers/ide/ide.c:338: warning: unused variable 'pci_default'

I decided to save some bytes by #ifdef:ing the struct in question.
CC:ing Hanna because she did the change (and just to say hi ;-).

Signed-off-by: Mika Kukkonen <mikukkon@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
21 years agoUse e820 memory map to determine PCI allocation area.
Linus Torvalds [Sun, 20 Feb 2005 01:43:19 +0000 (17:43 -0800)]
Use e820 memory map to determine PCI allocation area.

Don't use the VM numbers (max_low_pfn and friends), since they depend
on the partial kernel linear mapping and only partially on the actual
physical memory layout.

21 years ago[ide] fix ide_get_error_location() for LBA28
Bartlomiej Zolnierkiewicz [Sat, 19 Feb 2005 18:38:07 +0000 (19:38 +0100)]
[ide] fix ide_get_error_location() for LBA28

Higher bits (16-23) of the address were ignored.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
21 years ago[PATCH] PCI: support PCI_PM_CAP version 1
Daniel Ritz [Sat, 19 Feb 2005 09:16:24 +0000 (01:16 -0800)]
[PATCH] PCI: support PCI_PM_CAP version 1

A check for the PM_CAP version was recently added but i breaks devices
with version 1.  if they're in power-save mode they never get out of it.

Change it to also support v1.

Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] radeonfb: Workaround memory corruption accel problem
Benjamin Herrenschmidt [Sat, 19 Feb 2005 08:00:45 +0000 (00:00 -0800)]
[PATCH] radeonfb: Workaround memory corruption accel problem

A conflict between X and radeonfb can cause system memory corruption
when switching console from X (note that this is not realted to the
recent radeonfb patches, the problem has been there forever as far as I
can tell).

This patch works around it in radeonfb by making sure the "offsets"
register that driver the memory mapping of the accel engine are always
properly set before every accel op. A better fix should be done in fbcon
ultimately.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] m32r: warning fix
Hirokazu Takata [Sat, 19 Feb 2005 07:48:10 +0000 (23:48 -0800)]
[PATCH] m32r: warning fix

/project/m32r-linux/kernel/linux-2.6.11-rc4-bk4/b/include/linux/nodemask.h: In function `__first_unset_node':
/project/m32r-linux/kernel/linux-2.6.11-rc4-bk4/b/include/linux/nodemask.h:246: warning: passing arg 1 of `find_next_zero_bit' discards qualifiers from pointer target type

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] end_buffer_async_read printk ratelimiting
Andrew Morton [Sat, 19 Feb 2005 07:47:55 +0000 (23:47 -0800)]
[PATCH] end_buffer_async_read printk ratelimiting

ratelimit the disk I/O error reporting in end_buffer_async_read().

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[PATCH] mca resource layout fix
Andrew Morton [Sat, 19 Feb 2005 07:47:41 +0000 (23:47 -0800)]
[PATCH] mca resource layout fix

Greg's tree changes the layout of struct resource, so mca.c blows up.
Preemptively fix it.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 years ago[IPV4] Use appropriate sysctl helpers for gc_min_interval_ms.
Hideaki Yoshifuji [Sat, 19 Feb 2005 03:54:30 +0000 (12:54 +0900)]
[IPV4] Use appropriate sysctl helpers for gc_min_interval_ms.

Because its type is int, inappropriate to use ulong helpers.
This also fixes inconsistency between sysctl and procfs.

Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
21 years agoadd sysctl helper functions to provide milliseconds-based interfaces.
Hideaki Yoshifuji [Sat, 19 Feb 2005 03:23:43 +0000 (12:23 +0900)]
add sysctl helper functions to provide milliseconds-based interfaces.

Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
21 years agoMerge pobox.com:/garz/repo/linux-2.6
Jeff Garzik [Fri, 18 Feb 2005 10:51:04 +0000 (05:51 -0500)]
Merge pobox.com:/garz/repo/linux-2.6
into pobox.com:/garz/repo/libata-2.6

21 years ago[PATCH] libata: fix command queue leak when xlat_func fails
John W. Linville [Fri, 18 Feb 2005 10:49:44 +0000 (05:49 -0500)]
[PATCH] libata: fix command queue leak when xlat_func fails

ata_scsi_translate allocates from the libata command queue by calling
ata_scsi_qc_new.  If xlat_func returns non-zero, control jumps to
err_out which fails to free the allocated command.  Fix is to add a
new API to free unused commands.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
21 years agoMerge http://linux-mh.bkbits.net/bluetooth-2.6
Linus Torvalds [Fri, 18 Feb 2005 07:39:29 +0000 (23:39 -0800)]
Merge http://linux-mh.bkbits.net/bluetooth-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[Bluetooth] The new Microsoft dongle needs HCI_Reset
Marcel Holtmann [Sat, 19 Feb 2005 00:26:25 +0000 (01:26 +0100)]
[Bluetooth] The new Microsoft dongle needs HCI_Reset

For the new Microsoft Wireless Transceiver for Bluetooth 2.0 it is
necessary to send the HCI_Reset on every device initialization.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Fri, 18 Feb 2005 07:04:09 +0000 (23:04 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ARM] Take account of vm_pgoff for DMA mmap
Russell King [Fri, 18 Feb 2005 22:24:01 +0000 (22:24 +0000)]
[ARM] Take account of vm_pgoff for DMA mmap

The DMA mmap code was ignoring vm_pgoff which prevented a partial
mmap() of a DMA buffer.

Signed-off-by: Russell King <rmk@arm.linux.org.uk>
21 years ago[ARM PATCH] 2494/1: fix 'CONFGI_' -> 'CONFIG_' in mach-ixp2000/ixdp2x00.c
Lennert Buytenhek [Fri, 18 Feb 2005 21:55:29 +0000 (21:55 +0000)]
[ARM PATCH] 2494/1: fix 'CONFGI_' -> 'CONFIG_' in mach-ixp2000/ixdp2x00.c

Patch from Lennert Buytenhek

Fix a misspelled config symbol name in the ixp2000 code.

Signed-off-by: Lennert Buytenhek
Signed-off-by: Russell King
21 years ago[ARM PATCH] 2493/1: put IXP2000 slowport in 8-bit mode after boot
Lennert Buytenhek [Fri, 18 Feb 2005 21:48:16 +0000 (21:48 +0000)]
[ARM PATCH] 2493/1: put IXP2000 slowport in 8-bit mode after boot

Patch from Lennert Buytenhek

This is an old patch from 2.6.9-rc3-ds2 that never made it upstream.
The IXP2000 slowport has two modes of operation, 8-bit and 32-bit.
The slowport itself is a byte-wide bus, and in 8-bit mode, it does the
more-or-less obvious thing: every word read causes four byte reads,
and those bytes are then combined into a word according to the xscale
core's current endian setting.  So, what value you get depends on what
endianity your IXP2000 is running in.
In 32-bit mode, however, it is the slowport itself which combines
bytes into words, and for this it unconditionally uses little endian
mode.  In this mode, word reads from the slowport will return the
same value no matter whether the xscale core is running in big or
little endian mode.  This can be a plus in some cases.  Byte (and
halfword) accesses in 32-bit mode have rather useless semantics
due to this, though.
The usefulness of 32-bit mode is limited to the initial boot.  When
the IXP2000 resets, the slowport is always in 32-bit mode, so if you
flash the bootloader into flash (which is connected to the slowport)
using little-endian byte ordering, the xscale will always read the
instruction stream correctly, no matter whether it's running in big
or little endian mode.
After booting it makes no sense to use 32-bit mode anymore.  Especially
since the slowport's word ordering in 32-bit mode is little endian,
and the IXP2000 is conventionally run in big endian, which gives all
kinds of fun issues when trying to access peripherals connected to
the slowport.
In fact, the current MTD map driver for IXP2000 already sets the
slowport to 8-bit mode because it cannot access the flash otherwise.
However, this means that if the MTD map driver is not compiled in for
some reason, the slowport will stay in 32-bit mode after the initial
boot, which will cause peripheral accesses to unexpectedly break!

Signed-off-by: Lennert Buytenhek
Signed-off-by: Russell King
21 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Fri, 18 Feb 2005 03:32:00 +0000 (19:32 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[SPARC64]: BUG on rediculious memcpy lengths.
David S. Miller [Fri, 18 Feb 2005 02:25:55 +0000 (18:25 -0800)]
[SPARC64]: BUG on rediculious memcpy lengths.

Anything larger than MAX_INT is suspect.  Do this
for user copies too.

Signed-off-by: David S. Miller <davem@davemloft.net>
21 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Thu, 17 Feb 2005 23:33:18 +0000 (15:33 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

21 years ago[ARM PATCH] 2487/1: minor IRQ routing tweaks for ENP-2611
Lennert Buytenhek [Thu, 17 Feb 2005 16:09:14 +0000 (16:09 +0000)]
[ARM PATCH] 2487/1: minor IRQ routing tweaks for ENP-2611

Patch from Lennert Buytenhek

- The PCI2050B bridge is not wired to any interrupt pin.
- The SPI-3 option board slot is wired to PCI_B.
- Don't printk every time enp2611_map_pci_irq is called.
- Complain loudly if we encounter an unknown device.

Signed-off-by: Lennert Buytenhek
Signed-off-by: Russell King
21 years ago[ARM PATCH] 2486/1: fix incorrect comment in arch/arm/kernel/debug.S
Lennert Buytenhek [Thu, 17 Feb 2005 16:01:50 +0000 (16:01 +0000)]
[ARM PATCH] 2486/1: fix incorrect comment in arch/arm/kernel/debug.S

Patch from Lennert Buytenhek

arch/arm/kernel/debug.S has a comment at the top stating that the
file is called debug-armv.S, which is clearly not so.

Signed-off-by: Lennert Buytenhek
Signed-off-by: Russell King
21 years ago[ARM PATCH] 2485/1: fix enp2611 coexistence with other machine types
Lennert Buytenhek [Thu, 17 Feb 2005 15:54:04 +0000 (15:54 +0000)]
[ARM PATCH] 2485/1: fix enp2611 coexistence with other machine types

Patch from Lennert Buytenhek

If enp2611 support is compiled in, the kernel will unconditionally
perform enp2611-style PCI initialisation.  Conditionalise this on
machine_is_enp2611().

Signed-off-by: Lennert Buytenhek
Signed-off-by: Russell King
21 years agoMerge pobox.com:/garz/repo/libata-2.6
Jeff Garzik [Thu, 17 Feb 2005 15:15:03 +0000 (10:15 -0500)]
Merge pobox.com:/garz/repo/libata-2.6
into pobox.com:/garz/repo/libata-dev/qstor

21 years agoMerge pobox.com:/garz/repo/libata-dev/bmdma-cb
Jeff Garzik [Thu, 17 Feb 2005 14:43:54 +0000 (09:43 -0500)]
Merge pobox.com:/garz/repo/libata-dev/bmdma-cb
into pobox.com:/garz/repo/libata-2.6

21 years ago[libata] add ->bmdma_{stop,status} hooks
mat.loikkanen@synopsys.com [Thu, 17 Feb 2005 14:29:23 +0000 (09:29 -0500)]
[libata] add ->bmdma_{stop,status} hooks

The timeout/error handling path was assuming that the hardware in
question was PCI IDE BMDMA-like, which is incorrect in a few cases.

Turn direct function calls into two new hooks.

21 years ago[SPARC64]: Use common sys_ipc() compat code.
David S. Miller [Thu, 17 Feb 2005 13:53:25 +0000 (05:53 -0800)]
[SPARC64]: Use common sys_ipc() compat code.

No need to duplicate it locally.  This also fixes
several arg sign extension bugs and the subsequent
ltp testsuite failures.

Signed-off-by: David S. Miller <davem@davemloft.net>