pandora-kernel.git
16 years agovirtio: Use the sg_phys convenience function.
Rusty Russell [Tue, 5 Feb 2008 04:50:05 +0000 (23:50 -0500)]
virtio: Use the sg_phys convenience function.

Simple cleanup.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
16 years agovirtio: Put the virtio under the virtualization menu
Anthony Liguori [Thu, 8 Nov 2007 02:46:31 +0000 (20:46 -0600)]
virtio: Put the virtio under the virtualization menu

This patch moves virtio under the virtualization menu and changes virtio
devices to not claim to only be for lguest.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
16 years agovirtio: handle interrupts after callbacks turned off
Rusty Russell [Tue, 5 Feb 2008 04:50:04 +0000 (23:50 -0500)]
virtio: handle interrupts after callbacks turned off

Anthony Liguori found double interrupt suppression in the virtio_net
driver, triggered by two skb_recv_done's in a row.  This is because
virtio_ring's interrupt suppression is a best-effort optimization: it
contains no synchronization so the host can miss it and still send
interrupts.

But it's certainly nicer for virtio users if calling disable_cb
actually disables callbacks, so we check for the race in the interrupt
routine.

Note: SMP guests might require syncronization here, but since
disable_cb is actually called from interrupt context, there has to be
some form of synchronization before the next same interrupt handler is
called (Linux guarantees that the same device's irq handler will never
run simultanously on multiple CPUs).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
16 years agovirtio: reset function
Rusty Russell [Tue, 5 Feb 2008 04:50:03 +0000 (23:50 -0500)]
virtio: reset function

A reset function solves three problems:

1) It allows us to renegotiate features, eg. if we want to upgrade a
   guest driver without rebooting the guest.

2) It gives us a clean way of shutting down virtqueues: after a reset,
   we know that the buffers won't be used by the host, and

3) It helps the guest recover from messed-up drivers.

So we remove the ->shutdown hook, and the only way we now remove
feature bits is via reset.

We leave it to the driver to do the reset before it deletes queues:
the balloon driver, for example, needs to chat to the host in its
remove function.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
16 years agovirtio: populate network rings in the probe routine, not open
Rusty Russell [Tue, 5 Feb 2008 04:50:02 +0000 (23:50 -0500)]
virtio: populate network rings in the probe routine, not open

Since we want to reset the device to remove them, this is simpler
(device is reset for us on driver remove).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
16 years agovirtio: Tweak virtio_net defines
Rusty Russell [Tue, 5 Feb 2008 04:50:02 +0000 (23:50 -0500)]
virtio: Tweak virtio_net defines

1) Turn GSO on virtio net into an all-or-nothing (keep checksumming
   separate).  Having multiple bits is a pain: if you can't support something
   you should handle it in software, which is still a performance win.

2) Make VIRTIO_NET_HDR_GSO_ECN a flag in the header, so it can apply to
   IPv6 or v4.

3) Rename VIRTIO_NET_F_NO_CSUM to VIRTIO_NET_F_CSUM (ie. means we do
   checksumming).

4) Add csum and gso params to virtio_net to allow more testing.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
16 years agovirtio: Net header needs hdr_len
Rusty Russell [Tue, 5 Feb 2008 04:50:01 +0000 (23:50 -0500)]
virtio: Net header needs hdr_len

It's far easier to deal with packets if we don't have to parse the
packet to figure out the header length to know how much to pull into
the skb data.  Add the field to the virtio_net_hdr struct (and fix the
spaces that somehow crept in there).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
16 years agovirtio: remove unused id field from struct virtio_blk_outhdr
Rusty Russell [Tue, 5 Feb 2008 04:50:00 +0000 (23:50 -0500)]
virtio: remove unused id field from struct virtio_blk_outhdr

This field has been unused since an older version of virtio.  Remove
it now before we freeze the ABI.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au.
16 years agovirtio: clarify NO_NOTIFY flag usage
Rusty Russell [Tue, 5 Feb 2008 04:49:59 +0000 (23:49 -0500)]
virtio: clarify NO_NOTIFY flag usage

The other side (host) can set the NO_NOTIFY flag as an optimization,
to say "no need to kick me when you add things".  Make it clear that
this is advisory only; especially that we should always notify when
the ring is full.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
16 years agovirtio: Fix vring_init/vring_size to take unsigned long
Anthony Liguori [Fri, 21 Dec 2007 00:17:47 +0000 (02:17 +0200)]
virtio: Fix vring_init/vring_size to take unsigned long

Using unsigned int resulted in silent truncation of the upper 32-bit
on x86_64 resulting in an OOPS since the ring was being initialized
wrong.

Please reconsider my previous patch to just use PAGE_ALIGN().  Open
coding this sort of stuff, no matter how simple it seems, is just
asking for this sort of trouble.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
16 years agovirtio: configuration change callback
Rusty Russell [Tue, 5 Feb 2008 04:49:58 +0000 (23:49 -0500)]
virtio: configuration change callback

Various drivers want to know when their configuration information
changes: the balloon driver is the immediate user, but the network
driver may one day have a "carrier" status as well.

This introduces that callback (lguest doesn't use it yet).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
16 years agovirtio: explicit enable_cb/disable_cb rather than callback return.
Rusty Russell [Tue, 5 Feb 2008 04:49:57 +0000 (23:49 -0500)]
virtio: explicit enable_cb/disable_cb rather than callback return.

It seems that virtio_net wants to disable callbacks (interrupts) before
calling netif_rx_schedule(), so we can't use the return value to do so.

Rename "restart" to "cb_enable" and introduce "cb_disable" hook: callback
now returns void, rather than a boolean.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
16 years agovirtio: simplify config mechanism.
Rusty Russell [Tue, 5 Feb 2008 04:49:56 +0000 (23:49 -0500)]
virtio: simplify config mechanism.

Previously we used a type/len pair within the config space, but this
seems overkill.  We now simply define a structure which represents the
layout in the config space: the config space can now only be extended
at the end.

The main driver-visible changes:
1) We indicate what fields are present with an explicit feature bit.
2) Virtqueues are explicitly numbered, and not in the config space.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
16 years agovirtio: Implement skb_partial_csum_set, for setting partial csums on untrusted packets.
Rusty Russell [Tue, 5 Feb 2008 04:49:54 +0000 (23:49 -0500)]
virtio: Implement skb_partial_csum_set, for setting partial csums on untrusted packets.

Use it in virtio_net (replacing buggy version there), it's also going
to be used by TAP for partial csum support.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: David S. Miller <davem@davemloft.net>
16 years agopid-namespaces-vs-locks-interaction
Vitaliy Gusev [Thu, 17 Jan 2008 00:07:08 +0000 (00:07 +0000)]
pid-namespaces-vs-locks-interaction

fcntl(F_GETLK,..) can return pid of process for not current pid namespace
(if process is belonged to the several namespaces).  It is true also for
pids in /proc/locks.  So correct behavior is saving pointer to the struct
pid of the process lock owner.

Signed-off-by: Vitaliy Gusev <vgusev@openvz.org>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
16 years agofile locks: Use wait_event_interruptible_timeout()
Matthew Wilcox [Tue, 15 Jan 2008 04:28:30 +0000 (21:28 -0700)]
file locks: Use wait_event_interruptible_timeout()

interruptible_sleep_on_locked() is just an open-coded
wait_event_interruptible_timeout(), with the one difference that
interruptible_sleep_on_locked() doesn't bother to check the condition on
which it is waiting, depending instead on the BKL to avoid the case
where it blocks after the wakeup has already been called.

locks_block_on_timeout() is only used in one place, so it's actually
simpler to inline it into its caller.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
16 years agolocks: clarify posix_locks_deadlock
J. Bruce Fields [Fri, 26 Oct 2007 22:05:40 +0000 (18:05 -0400)]
locks: clarify posix_locks_deadlock

For such a short function (with such a long comment),
posix_locks_deadlock() seems to cause a lot of confusion.  Attempt to
make it a bit clearer:

- Remove the initial posix_same_owner() check, which can never
  pass (since this is only called in the case that block_fl and
  caller_fl conflict)
- Use an explicit loop (and a helper function) instead of a goto.
- Rewrite the comment, attempting a clearer explanation, and
  removing some uninteresting historical detail.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
16 years agoscsi: fix dependency bug in aic7 Makefile
Sam Ravnborg [Sun, 3 Feb 2008 20:55:49 +0000 (21:55 +0100)]
scsi: fix dependency bug in aic7 Makefile

Building the aic7xxx driver includes the copy
of an .h file from a _shipped file.

In a highly parallel build Ingo saw that the
build sometimes failed (included distcc usage).
It was tracked down to a missing dependency from the .c
source file to the generated .h file.
We started to build the .c file before the
copy (cat) operation of the .h file completed
and we then only got half of the definitions
from the copied .h file.

Add an explicit dependency from the .c files to the
generated .h files so make knows all dependencies and
finsih the build of the .h files before it starts
building the .o files.

Ingo tested this fix and reported:
good news: hundreds of successful kernel builds and no failures
overnight.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Acked-by: James Bottomley <James.Bottomley@HansenPartnership.com>
16 years agoJesper Juhl is the new trivial patches maintainer
Adrian Bunk [Sun, 3 Feb 2008 16:17:37 +0000 (18:17 +0200)]
Jesper Juhl is the new trivial patches maintainer

Jesper has agreed to take over maintainership for the trivial patches.

Thanks, Jesper!

Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoDocumentation: mention email-clients.txt in SubmittingPatches
Michael Opdenacker [Sun, 3 Feb 2008 16:06:58 +0000 (18:06 +0200)]
Documentation: mention email-clients.txt in SubmittingPatches

I was struggling to get my email-client no to mangle my patch files,
and I didn't find enough information in the SubmittingPatches file.
By looking for more information on the web, I eventually found the
email-clients.txt file, and it answered all my needs

This patch adds a reference to email-clients.txt in SubmittingPatches,
and Mozilla related information which is no longer accurate
(as opposed to the details found in email-clients.txt).

This should be helpful for people sending their first patches,
or not sending patches on a frequent basis.

Signed-off-by: Michael Opdenacker <michael@free-electrons.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agofs/binfmt_elf.c: spello fix
Ohad Ben-Cohen [Sun, 3 Feb 2008 16:05:15 +0000 (18:05 +0200)]
fs/binfmt_elf.c: spello fix

s/litle/little

Signed-off-by: Ohad Ben-Cohen <ohad@bencohen.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agodo_invalidatepage() comment typo fix
Fengguang Wu [Sun, 3 Feb 2008 16:04:10 +0000 (18:04 +0200)]
do_invalidatepage() comment typo fix

Fix a typo in the comment for do_invalidatepage().

Signed-off-by: Fengguang Wu <wfg@mail.ustc.edu.cn>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoDocumentation/filesystems/porting fixes
Oliver Pinter [Sun, 3 Feb 2008 15:59:17 +0000 (17:59 +0200)]
Documentation/filesystems/porting fixes

typo fix and whitespace cleanup

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agotypo fixes in net/core/net_namespace.c
Oliver Pinter [Sun, 3 Feb 2008 15:56:48 +0000 (17:56 +0200)]
typo fixes in net/core/net_namespace.c

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agotypo fix in net/rfkill/rfkill.c
Oliver Pinter [Sun, 3 Feb 2008 15:55:45 +0000 (17:55 +0200)]
typo fix in net/rfkill/rfkill.c

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agotypo fixes in net/sctp/sm_statefuns.c
Oliver Pinter [Sun, 3 Feb 2008 15:52:41 +0000 (17:52 +0200)]
typo fixes in net/sctp/sm_statefuns.c

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agolib/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:48:52 +0000 (17:48 +0200)]
lib/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agokernel/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:48:04 +0000 (17:48 +0200)]
kernel/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoinclude/scsi/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:47:00 +0000 (17:47 +0200)]
include/scsi/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoinclude/linux/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:45:46 +0000 (17:45 +0200)]
include/linux/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoinclude/asm-m68knommu/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:38:04 +0000 (17:38 +0200)]
include/asm-m68knommu/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoinclude/asm-frv/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:34:55 +0000 (17:34 +0200)]
include/asm-frv/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agofs/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:33:42 +0000 (17:33 +0200)]
fs/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agodrivers/watchdog/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:32:52 +0000 (17:32 +0200)]
drivers/watchdog/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agodrivers/video/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:31:49 +0000 (17:31 +0200)]
drivers/video/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agodrivers/ssb/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:30:25 +0000 (17:30 +0200)]
drivers/ssb/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agodrivers/serial/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:29:25 +0000 (17:29 +0200)]
drivers/serial/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agodrivers/scsi/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:28:22 +0000 (17:28 +0200)]
drivers/scsi/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Acked-by: James Smart <james.smart@emulex.com>
Acked-by: Darrick J. Wong <djwong@us.ibm.com>
Acked-by: David Somayajulu <david.somayajulu@qlogic.com>
Acked-by: Mark Salyzyn <mark_salyzyn@adaptec.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agodrivers/pcmcia/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:26:02 +0000 (17:26 +0200)]
drivers/pcmcia/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agodrivers/parisc/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:24:37 +0000 (17:24 +0200)]
drivers/parisc/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agodrivers/nubus/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:23:36 +0000 (17:23 +0200)]
drivers/nubus/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agodrivers/mtd/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:22:34 +0000 (17:22 +0200)]
drivers/mtd/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agodrivers/message/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:21:01 +0000 (17:21 +0200)]
drivers/message/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoinclude/media/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:19:47 +0000 (17:19 +0200)]
include/media/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agodrivers/media/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:18:59 +0000 (17:18 +0200)]
drivers/media/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agodrivers/macintosh/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:18:02 +0000 (17:18 +0200)]
drivers/macintosh/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agodrivers/isdn/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:16:28 +0000 (17:16 +0200)]
drivers/isdn/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agodrivers/input/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:15:20 +0000 (17:15 +0200)]
drivers/input/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agodrivers/firmware/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:13:40 +0000 (17:13 +0200)]
drivers/firmware/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agodrivers/edac/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:12:34 +0000 (17:12 +0200)]
drivers/edac/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agodrivers/char/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:11:42 +0000 (17:11 +0200)]
drivers/char/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agodrivers/bluetooth/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:10:31 +0000 (17:10 +0200)]
drivers/bluetooth/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agodrivers/block/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:09:38 +0000 (17:09 +0200)]
drivers/block/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agodrivers/ata/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:08:11 +0000 (17:08 +0200)]
drivers/ata/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoinclude/acpi/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:07:16 +0000 (17:07 +0200)]
include/acpi/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agodrivers/acpi/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:06:17 +0000 (17:06 +0200)]
drivers/acpi/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoarch/um: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:05:25 +0000 (17:05 +0200)]
arch/um: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoinclude/asm-parisc/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 15:00:11 +0000 (17:00 +0200)]
include/asm-parisc/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoarch/parisc/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 14:58:20 +0000 (16:58 +0200)]
arch/parisc/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoinclude/asm-mips/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 14:57:20 +0000 (16:57 +0200)]
include/asm-mips/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoarch/mips/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 14:54:53 +0000 (16:54 +0200)]
arch/mips/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoarch/m32r/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 14:53:47 +0000 (16:53 +0200)]
arch/m32r/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoarch/h8300/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 14:52:33 +0000 (16:52 +0200)]
arch/h8300/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoinclude/asm-arm/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 14:50:59 +0000 (16:50 +0200)]
include/asm-arm/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoarch/arm/: Spelling fixes
Joe Perches [Sun, 3 Feb 2008 14:49:43 +0000 (16:49 +0200)]
arch/arm/: Spelling fixes

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoMAINTAINERS: update Corey Thomas email address
Joe Perches [Sun, 3 Feb 2008 14:38:31 +0000 (16:38 +0200)]
MAINTAINERS: update Corey Thomas email address

On Sat, 2007-12-22 at 18:08 -0500, Corey Thomas wrote:
> This email, coreythomas@charter.net is good.  ISP change.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoMAINTAINERS: remove Adam Fritzler, remove his email address in other sources
Joe Perches [Sun, 3 Feb 2008 14:36:24 +0000 (16:36 +0200)]
MAINTAINERS: remove Adam Fritzler, remove his email address in other sources

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoasm-*/compat.h: fix typo in comment
Marcin Ślusarz [Sun, 3 Feb 2008 14:32:51 +0000 (16:32 +0200)]
asm-*/compat.h: fix typo in comment

Signed-off-by: Marcin Ślusarz <marcin.slusarz@gmail.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agodoc: use correct debugfs mountpoint
Randy Dunlap [Sun, 3 Feb 2008 14:30:51 +0000 (16:30 +0200)]
doc: use correct debugfs mountpoint

Use the normal, expected mountpoint in the relay(fs) example
for debugfs.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agodio: fix kernel-doc notation
Randy Dunlap [Sun, 3 Feb 2008 14:29:12 +0000 (16:29 +0200)]
dio: fix kernel-doc notation

Fix kernel-doc in drivers/dio/ so that it is formatted correctly
and the parameter names match the function parameters.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-By: Jochen Friedrich <jochen@scram.de>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoDocumentation/BUG-HUNTING whitespace cleanup
Clemens Koller [Sun, 3 Feb 2008 14:26:36 +0000 (16:26 +0200)]
Documentation/BUG-HUNTING whitespace cleanup

Just a little whitespace cleanup patch for Documentation/BUG-HUNTING

Signed-off-by: Clemens Koller <clemens.koller@anagramm.de>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoRemove one useless extern declaration
Pierre Peiffer [Sun, 3 Feb 2008 14:22:12 +0000 (16:22 +0200)]
Remove one useless extern declaration

The file exit.c contains one useless extern declaration of sem_exit().
Moreover, it refers to nothing.

This trivial patch removes it.

Signed-off-by: Pierre Peiffer <pierre.peiffer@bull.net>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agotime: delete comments that refer to noexistent symbols
Li Zefan [Sun, 3 Feb 2008 14:20:13 +0000 (16:20 +0200)]
time: delete comments that refer to noexistent symbols

Function do_timer_interrupt_hook() don't take argument regs,
and structure hrtimer_sleeper don't have member cb_pending.
So delete comments refering to these symbols.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoDocumentation: missing proc/$PID/stat field
Leonardo Chiquitto [Sun, 3 Feb 2008 14:17:16 +0000 (16:17 +0200)]
Documentation: missing proc/$PID/stat field

There's a missing field in the /proc/$PID/stat output documented in
Documentation/filesystems/proc.txt.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoradix_tree.h trivial comment correction
Tim Pepper [Sun, 3 Feb 2008 14:12:47 +0000 (16:12 +0200)]
radix_tree.h trivial comment correction

There is an unmatched parenthesis in the locking commentary of radix_tree.h
which is trivially fixed by the patch below.

Signed-off-by: Tim Pepper <lnxninja@linux.vnet.ibm.com>
Acked-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agocorrect missing a double quote in configfs.txt
Masatake YAMATO [Sun, 3 Feb 2008 14:10:08 +0000 (16:10 +0200)]
correct missing a double quote in configfs.txt

Signed-off-by: Masatake YAMATO <jet@gyve.org>
Acked-by: Joel Becker <Joel.Becker@oracle.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agojonada720: remove duplicate include
Andre Haupt [Sun, 3 Feb 2008 14:08:09 +0000 (16:08 +0200)]
jonada720: remove duplicate include

Signed-off-by: Andre Haupt <andre@bitwigglers.org>
Acked-by: Kristoffer Ericson <kristoffer.ericson@gmail.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agobf54x: remove duplicate include
Andre Haupt [Sun, 3 Feb 2008 14:04:56 +0000 (16:04 +0200)]
bf54x: remove duplicate include

Signed-off-by: Andre Haupt <andre@bitwigglers.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agogameport: remove duplicate include
Andre Haupt [Sun, 3 Feb 2008 14:03:50 +0000 (16:03 +0200)]
gameport: remove duplicate include

Signed-off-by: Andre Haupt <andre@bitwigglers.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agovga.h: Fix prepocessor warning
Frank Lichtenheld [Sun, 3 Feb 2008 13:59:02 +0000 (15:59 +0200)]
vga.h: Fix prepocessor warning

Mark comment as comment, fixes:
include/asm/vga.h:6:8: warning: extra tokens at end of #endif directive

Signed-off-by: Frank Lichtenheld <frank@lichtenheld.de>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agomove frv docs one level up
Adrian Bunk [Sun, 3 Feb 2008 13:54:28 +0000 (15:54 +0200)]
move frv docs one level up

My first guess for "fujitsu" was it might be related to the
fujitsu-laptop.c driver...

Move the frv directory one level up since frv is the name of the
architecture in the Linux kernel.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoremove Documentation/smp.txt
Adrian Bunk [Sun, 3 Feb 2008 13:50:21 +0000 (15:50 +0200)]
remove Documentation/smp.txt

After seeing the filename I'd have expected something about the
implementation of SMP in the Linux kernel - not some notes on kernel
configuration and building trivialities noone would search at this
place.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Alan Cox <alan@redhat.com>
16 years agoSpelling fixes: lenght->length
Paulius Zaleckas [Sun, 3 Feb 2008 13:42:53 +0000 (15:42 +0200)]
Spelling fixes: lenght->length

Signed-off-by: Paulius Zaleckas <pauliusz@yahoo.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoDocumentation: Clarify when module debugging actually works.
Robert P. J. Day [Sun, 3 Feb 2008 13:27:38 +0000 (15:27 +0200)]
Documentation:  Clarify when module debugging actually works.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoDocumentation: Remove references to dead "st0x" and "tmc8xx" parms.
Robert P. J. Day [Sun, 3 Feb 2008 13:23:00 +0000 (15:23 +0200)]
Documentation:  Remove references to dead "st0x" and "tmc8xx" parms.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoDocumentation: Update to refer to correct "rcupdate" module name
Robert P. J. Day [Sun, 3 Feb 2008 13:20:26 +0000 (15:20 +0200)]
Documentation:  Update to refer to correct "rcupdate" module name

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoDocumentation: "decnet=" should read "decnet.addr=".
Robert P. J. Day [Sun, 3 Feb 2008 13:18:45 +0000 (15:18 +0200)]
Documentation:  "decnet=" should read "decnet.addr=".

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoTypoes: "whith" -> "with"
Robert P. J. Day [Sun, 3 Feb 2008 13:14:02 +0000 (15:14 +0200)]
Typoes:  "whith" -> "with"

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoFix a small number of "memeber" typoes.
Robert P. J. Day [Sun, 3 Feb 2008 13:12:15 +0000 (15:12 +0200)]
Fix a small number of "memeber" typoes.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agolinux/dma-mapping.h: rename macro to prevent multiple inclusion
Robert P. J. Day [Sun, 3 Feb 2008 13:06:26 +0000 (15:06 +0200)]
linux/dma-mapping.h: rename macro to prevent multiple inclusion

Having the macro to prevent multiple inclusion of
include/linux/dma-mapping.h contain the prefix "_ASM" is just begging
for possible confusion some day.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoCorrect explanations of "find_next" bit routines.
Robert P. J. Day [Sun, 3 Feb 2008 13:02:21 +0000 (15:02 +0200)]
Correct explanations of "find_next" bit routines.

Correct the obvious "copy and paste" errors explaining some of the
"find_next" routines.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agofix typo 'the same the\>'
Uwe Kleine-König [Sun, 3 Feb 2008 12:59:11 +0000 (14:59 +0200)]
fix typo 'the same the\>'

Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoSERIAL_NETX_CONSOLE provides console for NetX, not IMX
Uwe Kleine-König [Sun, 3 Feb 2008 12:55:57 +0000 (14:55 +0200)]
SERIAL_NETX_CONSOLE provides console for NetX, not IMX

Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agouse the newc archive format as requested by initramfs
Uwe Kleine-König [Sun, 3 Feb 2008 12:54:41 +0000 (14:54 +0200)]
use the newc archive format as requested by initramfs

This is a documentation followup to 2e591bbc0d563e12f5a260fbbca0df7d5810910e

Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoDocumentation: fix type error
Denis Cheng [Sun, 3 Feb 2008 12:50:11 +0000 (14:50 +0200)]
Documentation: fix type error

Signed-off-by: Denis Cheng <crquan@gmail.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoCoding style fix drivers/serial/icom.h
Michal Piotrowski [Sun, 3 Feb 2008 12:47:38 +0000 (14:47 +0200)]
Coding style fix drivers/serial/icom.h

Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years agoMerge branch 'fixes' of master.kernel.org:/pub/scm/linux/kernel/git/linville/wireless-2.6
David S. Miller [Sun, 3 Feb 2008 12:43:34 +0000 (04:43 -0800)]
Merge branch 'fixes' of /linux/kernel/git/linville/wireless-2.6

16 years agoremove obsolete contact information from CREDITS
Adrian Bunk [Sun, 3 Feb 2008 12:43:15 +0000 (14:43 +0200)]
remove obsolete contact information from CREDITS

Signed-off-by: Adrian Bunk <bunk@kernel.org>
16 years ago[IPV6]: Reorg struct ifmcaddr6 to save some bytes
Arnaldo Carvalho de Melo [Sun, 3 Feb 2008 12:09:17 +0000 (04:09 -0800)]
[IPV6]: Reorg struct ifmcaddr6 to save some bytes

/home/acme/git/net-2.6/net/ipv6/mcast.c:
  struct ifmcaddr6 |   -8
 1 struct changed
  igmp6_group_dropped  |   -6
  add_grec             |   -3
  mld_ifc_timer_expire |  -18
  ip6_mc_add_src       |   -3
  ip6_mc_del_src       |   -3
  igmp6_group_added    |   -3
 6 functions changed, 36 bytes removed, diff: -36

ipv6.ko:
 6 functions changed, 36 bytes removed, diff: -36

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
16 years ago[INET_TIMEWAIT_SOCK]: Reorganize struct inet_timewait_sock to save some bytes
Arnaldo Carvalho de Melo [Sun, 3 Feb 2008 12:08:26 +0000 (04:08 -0800)]
[INET_TIMEWAIT_SOCK]: Reorganize struct inet_timewait_sock to save some bytes

/home/acme/git/net-2.6/net/ipv6/tcp_ipv6.c:
  struct inet_timewait_sock |   -8
  struct tcp_timewait_sock  |   -8
 2 structs changed
  tcp_v6_rcv                |   -6
 1 function changed, 6 bytes removed, diff: -6

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>