safe/jmp/linux-2.6
15 years agoMIPS: Fix a typo in watchpoint register structure.
David Daney [Wed, 24 Dec 2008 23:44:26 +0000 (15:44 -0800)]
MIPS: Fix a typo in watchpoint register structure.

This fixes the ptrace ABI for watch registers, and should allow 64bit
kernels to use the watch register support.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
15 years agoMIPS: TXx9: Add support for TX4939 internal RTC
Atsushi Nemoto [Tue, 20 Jan 2009 14:07:41 +0000 (23:07 +0900)]
MIPS: TXx9: Add support for TX4939 internal RTC

Add platform support to use rtc-tx4939 driver.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
15 years agoMIPS: R2: Fix broken installation of cache error handler.
Ralf Baechle [Wed, 28 Jan 2009 18:48:23 +0000 (18:48 +0000)]
MIPS: R2: Fix broken installation of cache error handler.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
15 years agoMIPS: IP27: Switch from DMA_IP27 to DMA_COHERENT
Ralf Baechle [Wed, 28 Jan 2009 17:48:40 +0000 (17:48 +0000)]
MIPS: IP27: Switch from DMA_IP27 to DMA_COHERENT

The special IP27 DMA code selected by DMA_IP27 has been removed a while
ago turning DMA_IP27 into almost a nop.  Also fixup the broken logic of
its last users memcpy.S and memcpy-inatomic.s.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
15 years agoMIPS: Add return value checks to user_termio_to_kernel_termios()
Ralf Baechle [Wed, 28 Jan 2009 14:13:37 +0000 (14:13 +0000)]
MIPS: Add return value checks to user_termio_to_kernel_termios()

And while at it, convert all functions from macros to inline functions
for sanity.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
15 years agoMIPS: Octeon: Remove duplicated #includes
Huang Weiyi [Wed, 14 Jan 2009 22:56:46 +0000 (06:56 +0800)]
MIPS: Octeon: Remove duplicated #includes

Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
15 years agoMIPS: atomic_*(): Change type of intermediate variables.
Ralf Baechle [Mon, 12 Jan 2009 00:52:18 +0000 (00:52 +0000)]
MIPS: atomic_*(): Change type of intermediate variables.

This shaves of 1912 bytes of an IP27 defconfig kernel and avoids
unexpected overflow behaviour in atomic_sub_if_positive.  Apply the same
changes to the atomic64_* functions for consistency.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
15 years agoMIPS: Port "mm: invoke oom-killer from page fault" from UML / x86
Ralf Baechle [Mon, 12 Jan 2009 00:09:13 +0000 (00:09 +0000)]
MIPS: Port "mm: invoke oom-killer from page fault" from UML / x86

Original commit 1c0fe6e3bda0464728c23c8d84aa47567e8b716c.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
15 years agoMIPS: Avoid destructive invalidation on partial cachelines.
Ralf Baechle [Sun, 11 Jan 2009 18:44:49 +0000 (18:44 +0000)]
MIPS: Avoid destructive invalidation on partial cachelines.

See discussion e9c3a7c20901051031y528d0d31r18d44c5096c59e0@mail.gmail.com.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
15 years agoMIPS: SMTC: Fix build after recent creditial changes.
Ralf Baechle [Sun, 11 Jan 2009 18:27:10 +0000 (18:27 +0000)]
MIPS: SMTC: Fix build after recent creditial changes.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
15 years ago[CIFS] ipv6_addr_equal for address comparison
Steve French [Fri, 30 Jan 2009 21:24:41 +0000 (21:24 +0000)]
[CIFS] ipv6_addr_equal for address comparison

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
15 years agoAllow opportunistic merging of VM_CAN_NONLINEAR areas
Linus Torvalds [Fri, 30 Jan 2009 19:37:22 +0000 (11:37 -0800)]
Allow opportunistic merging of VM_CAN_NONLINEAR areas

Commit de33c8db5910cda599899dd431cc30d7c1018cbf ("Fix OOPS in
mmap_region() when merging adjacent VM_LOCKED file segments") unified
the vma merging of anonymous and file maps to just one place, which
simplified the code and fixed a use-after-free bug that could cause an
oops.

But by doing the merge opportunistically before even having called
->mmap() on the file method, it now compares two different 'vm_flags'
values: the pre-mmap() value of the new not-yet-formed vma, and previous
mappings of the same file around it.

And in doing so, it refused to merge the common file case, which adds a
marker to say "I can be made non-linear".

This fixes it by just adding a set of flags that don't have to match,
because we know they are ok to merge.  Currently it's only that single
VM_CAN_NONLINEAR flag, but at least conceptually there could be others
in the future.

Reported-and-acked-by: Hugh Dickins <hugh@veritas.com>
Cc: Lee Schermerhorn <Lee.Schermerhorn@hp.com>
Cc: Nick Piggin <npiggin@suse.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Greg KH <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
15 years agoheaders_check fix: x86, swab.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:27:38 +0000 (22:57 +0530)]
headers_check fix: x86, swab.h

fix the following 'make headers_check' warnings:

  usr/include/asm/swab.h:4: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm/swab.h:7: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: x86, sigcontext32.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:25:20 +0000 (22:55 +0530)]
headers_check fix: x86, sigcontext32.h

fix the following 'make headers_check' warning:

  usr/include/asm/sigcontext32.h:20: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: x86, sigcontext.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:23:49 +0000 (22:53 +0530)]
headers_check fix: x86, sigcontext.h

fix the following 'make headers_check' warnings:

  usr/include/asm/sigcontext.h:5: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm/sigcontext.h:24: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: x86, ptrace-abi.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:22:16 +0000 (22:52 +0530)]
headers_check fix: x86, ptrace-abi.h

fix the following 'make headers_check' warnings:

  usr/include/asm/ptrace-abi.h:86: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm/ptrace-abi.h:93: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: x86, mtrr.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:18:17 +0000 (22:48 +0530)]
headers_check fix: x86, mtrr.h

fix the following 'make headers_check' warning:

  usr/include/asm/mtrr.h:61: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: x86, mce.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:17:27 +0000 (22:47 +0530)]
headers_check fix: x86, mce.h

fix the following 'make headers_check' warnings:

  usr/include/asm/mce.h:7: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm/mce.h:29: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: x86, kvm.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:16:08 +0000 (22:46 +0530)]
headers_check fix: x86, kvm.h

fix the following 'make headers_check' warnings:

  usr/include/asm/kvm.h:9: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm/kvm.h:16: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: x86, e820.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:14:58 +0000 (22:44 +0530)]
headers_check fix: x86, e820.h

fix the following 'make headers_check' warning:

  usr/include/asm/e820.h:44: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/rtnetlink.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:10:32 +0000 (22:40 +0530)]
headers_check fix: linux/rtnetlink.h

fix the following 'make headers_check' warning:

  usr/include/linux/rtnetlink.h:328: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/nubus.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:09:17 +0000 (22:39 +0530)]
headers_check fix: linux/nubus.h

fix the following 'make headers_check' warning:

  usr/include/linux/nubus.h:232: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: video/uvesafb.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:05:17 +0000 (22:35 +0530)]
headers_check fix: video/uvesafb.h

fix the following 'make headers_check' warning:

  usr/include/video/uvesafb.h:5: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: video/sisfb.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:04:29 +0000 (22:34 +0530)]
headers_check fix: video/sisfb.h

fix the following 'make headers_check' warnings:

  usr/include/video/sisfb.h:25: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/video/sisfb.h:78: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: sound/hdsp.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:03:29 +0000 (22:33 +0530)]
headers_check fix: sound/hdsp.h

fix the following 'make headers_check' warning:

  usr/include/sound/hdsp.h:33: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: mtd/inftl-user.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:02:35 +0000 (22:32 +0530)]
headers_check fix: mtd/inftl-user.h

fix the following 'make headers_check' warning:

  usr/include/mtd/inftl-user.h:61: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/virtio_net.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 17:01:05 +0000 (22:31 +0530)]
headers_check fix: linux/virtio_net.h

fix the following 'make headers_check' warning:

  usr/include/linux/virtio_net.h:28: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/virtio_console.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:59:33 +0000 (22:29 +0530)]
headers_check fix: linux/virtio_console.h

fix the following 'make headers_check' warning:

  usr/include/linux/virtio_console.h:15: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/virtio_blk.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:57:58 +0000 (22:27 +0530)]
headers_check fix: linux/virtio_blk.h

fix the following 'make headers_check' warning:

  usr/include/linux/virtio_blk.h:21: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/videodev.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:56:01 +0000 (22:26 +0530)]
headers_check fix: linux/videodev.h

fix the following 'make headers_check' warning:

  usr/include/linux/videodev.h:53: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/video_encoder.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:54:09 +0000 (22:24 +0530)]
headers_check fix: linux/video_encoder.h

fix the following 'make headers_check' warning:

  usr/include/linux/video_encoder.h:5: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/video_decoder.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:52:51 +0000 (22:22 +0530)]
headers_check fix: linux/video_decoder.h

fix the following 'make headers_check' warning:

  usr/include/linux/video_decoder.h:7: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/taskstats.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:51:19 +0000 (22:21 +0530)]
headers_check fix: linux/taskstats.h

fix the following 'make headers_check' warning:

  usr/include/linux/taskstats.h:44: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/synclink.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:50:04 +0000 (22:20 +0530)]
headers_check fix: linux/synclink.h

fix the following 'make headers_check' warning:

  usr/include/linux/synclink.h:209: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/sound.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:47:53 +0000 (22:17 +0530)]
headers_check fix: linux/sound.h

fix the following 'make headers_check' warnings:

  usr/include/linux/sound.h:33: extern's make no sense in userspace
  usr/include/linux/sound.h:34: extern's make no sense in userspace
  usr/include/linux/sound.h:35: extern's make no sense in userspace
  usr/include/linux/sound.h:36: extern's make no sense in userspace
  usr/include/linux/sound.h:37: extern's make no sense in userspace
  usr/include/linux/sound.h:39: extern's make no sense in userspace
  usr/include/linux/sound.h:40: extern's make no sense in userspace
  usr/include/linux/sound.h:41: extern's make no sense in userspace
  usr/include/linux/sound.h:42: extern's make no sense in userspace

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/signalfd.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:44:02 +0000 (22:14 +0530)]
headers_check fix: linux/signalfd.h

fix the following 'make headers_check' warning:

  usr/include/linux/signalfd.h:19: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/random.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:41:32 +0000 (22:11 +0530)]
headers_check fix: linux/random.h

fix the following 'make headers_check' warning:

  usr/include/linux/random.h:39: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/ppp_defs.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:39:17 +0000 (22:09 +0530)]
headers_check fix: linux/ppp_defs.h

fix the following 'make headers_check' warning:

  usr/include/linux/ppp_defs.h:50: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/pkt_sched.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:37:05 +0000 (22:07 +0530)]
headers_check fix: linux/pkt_sched.h

fix the following 'make headers_check' warning:

  usr/include/linux/pkt_sched.h:32: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/pkt_cls.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:35:32 +0000 (22:05 +0530)]
headers_check fix: linux/pkt_cls.h

fix the following 'make headers_check' warning:

  linux/pkt_cls.h:122: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/phonet.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:33:25 +0000 (22:03 +0530)]
headers_check fix: linux/phonet.h

fix the following 'make headers_check' warning:

  usr/include/linux/phonet.h:50: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/nfs_idmap.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:29:48 +0000 (21:59 +0530)]
headers_check fix: linux/nfs_idmap.h

fix the following 'make headers_check' warning:

  usr/include/linux/nfs_idmap.h:55: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/neighbour.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:28:19 +0000 (21:58 +0530)]
headers_check fix: linux/neighbour.h

fix the following 'make headers_check' warning:

  usr/include/linux/neighbour.h:8: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/msdos_fs.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:26:32 +0000 (21:56 +0530)]
headers_check fix: linux/msdos_fs.h

fix the following 'make headers_check' warning:

  usr/include/linux/msdos_fs.h:100: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/minix_fs.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:24:23 +0000 (21:54 +0530)]
headers_check fix: linux/minix_fs.h

fix the following 'make headers_check' warning:

  usr/include/linux/minix_fs.h:34: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/irda.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:20:39 +0000 (21:50 +0530)]
headers_check fix: linux/irda.h

fix the following 'make headers_check' warning:

  usr/include/linux/irda.h:127: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/ipx.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:19:07 +0000 (21:49 +0530)]
headers_check fix: linux/ipx.h

fix the following 'make headers_check' warning:

  usr/include/linux/ipx.h:13: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/ipv6_route.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:17:52 +0000 (21:47 +0530)]
headers_check fix: linux/ipv6_route.h

fix the following 'make headers_check' warning:

  usr/include/linux/ipv6_route.h:42: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/ipv6.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:16:43 +0000 (21:46 +0530)]
headers_check fix: linux/ipv6.h

fix the following 'make headers_check' warning:

  usr/include/linux/ipv6.h:26: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/ip6_tunnel.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:14:19 +0000 (21:44 +0530)]
headers_check fix: linux/ip6_tunnel.h

fix the following 'make headers_check' warning:

  include/linux/ip6_tunnel.h:21: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/inet_diag.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:12:47 +0000 (21:42 +0530)]
headers_check fix: linux/inet_diag.h

fix the following 'make headers_check' warning:

  usr/include/linux/inet_diag.h:16: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/igmp.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:06:04 +0000 (21:36 +0530)]
headers_check fix: linux/igmp.h

fix the following 'make headers_check' warning:

  usr/include/linux/igmp.h:31: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/if_tr.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:04:36 +0000 (21:34 +0530)]
headers_check fix: linux/if_tr.h

fix the following 'make headers_check' warning:

  usr/include/linux/if_tr.h:37: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/if_strip.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:02:52 +0000 (21:32 +0530)]
headers_check fix: linux/if_strip.h

fix the following 'make headers_check' warning:

  usr/include/linux/if_strip.h:22: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/if_ppp.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 16:01:29 +0000 (21:31 +0530)]
headers_check fix: linux/if_ppp.h

fix the following 'make headers_check' warning:

  usr/include/linux/if_ppp.h:96: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/if_link.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:59:20 +0000 (21:29 +0530)]
headers_check fix: linux/if_link.h

fix the following 'make headers_check' warning:

  usr/include/linux/if_link.h:9: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/if_hippi.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:57:59 +0000 (21:27 +0530)]
headers_check fix: linux/if_hippi.h

fix the following 'make headers_check' warning:

  usr/include/linux/if_hippi.h:82: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/if_fc.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:56:35 +0000 (21:26 +0530)]
headers_check fix: linux/if_fc.h

fix the following 'make headers_check' warning:

  usr/include/linux/if_fc.h:37: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/if_addrlabel.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:55:00 +0000 (21:25 +0530)]
headers_check fix: linux/if_addrlabel.h

fix the following 'make headers_check' warning:

  usr/include/linux/if_addrlabel.h:15: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/if_addr.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:51:01 +0000 (21:21 +0530)]
headers_check fix: linux/if_addr.h

fix the following 'make headers_check' warning:

  usr/include/linux/if_addr.h:8: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/icmpv6.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:48:37 +0000 (21:18 +0530)]
headers_check fix: linux/icmpv6.h

fix the following 'make headers_check' warning:

  usr/include/linux/icmpv6.h:8: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/hiddev.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:47:06 +0000 (21:17 +0530)]
headers_check fix: linux/hiddev.h

fix the following 'make headers_check' warning:

  usr/include/linux/hiddev.h:40: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/hid.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:45:34 +0000 (21:15 +0530)]
headers_check fix: linux/hid.h

fix the following 'make headers_check' warnings:

  usr/include/linux/hid.h:69: extern's make no sense in userspace
  usr/include/linux/hid.h:76: extern's make no sense in userspace

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/gfs2_ondisk.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:42:38 +0000 (21:12 +0530)]
headers_check fix: linux/gfs2_ondisk.h

fix the following 'make headers_check' warning:

  usr/include/linux/gfs2_ondisk.h:109: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/genetlink.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:40:52 +0000 (21:10 +0530)]
headers_check fix: linux/genetlink.h

fix the following 'make headers_check' warning:

  usr/include/linux/genetlink.h:12: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/errqueue.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:39:18 +0000 (21:09 +0530)]
headers_check fix: linux/errqueue.h

fix the following 'make headers_check' warning:

  usr/include/linux/errqueue.h:6: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/elf.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:35:50 +0000 (21:05 +0530)]
headers_check fix: linux/elf.h

fix the following 'make headers_check' warnings:

  usr/include/linux/elf.h:379: extern's make no sense in userspace
  usr/include/linux/elf.h:387: extern's make no sense in userspace
  usr/include/linux/elf.h:401: extern's make no sense in userspace
  usr/include/linux/elf.h:402: extern's make no sense in userspace

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/elf-fdpic.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:34:44 +0000 (21:04 +0530)]
headers_check fix: linux/elf-fdpic.h

fix the following 'make headers_check' warning:

  usr/include/linux/elf-fdpic.h:62: extern's make no sense in userspace

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/efs_fs_sb.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:31:11 +0000 (21:01 +0530)]
headers_check fix: linux/efs_fs_sb.h

fix the following 'make headers_check' warning:

  usr/include/linux/efs_fs_sb.h:49: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/edd.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:24:27 +0000 (20:54 +0530)]
headers_check fix: linux/edd.h

fix the following 'make headers_check' warning:

  usr/include/linux/edd.h:70: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/dn.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:22:54 +0000 (20:52 +0530)]
headers_check fix: linux/dn.h

fix the following 'make headers_check' warning:

  usr/include/linux/dn.h:75: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/dlm_plock.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:21:30 +0000 (20:51 +0530)]
headers_check fix: linux/dlm_plock.h

fix the following 'make headers_check' warning:

  usr/include/linux/dlm_plock.h:25: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/cgroupstats.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:13:31 +0000 (20:43 +0530)]
headers_check fix: linux/cgroupstats.h

fix the following 'make headers_check' warning:

  usr/include/linux/cgroupstats.h:31: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/cdrom.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:11:51 +0000 (20:41 +0530)]
headers_check fix: linux/cdrom.h

fix the following 'make headers_check' warning:

  usr/include/linux/cdrom.h:155: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/capability.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:09:30 +0000 (20:39 +0530)]
headers_check fix: linux/capability.h

fix the following 'make headers_check' warning:

  usr/include/linux/capability.h:73: extern's make no sense in userspace

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/blktrace_api.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:06:52 +0000 (20:36 +0530)]
headers_check fix: linux/blktrace_api.h

fix the following 'make headers_check' warning:

  usr/include/linux/blktrace_api.h:96: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/bfs_fs.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:04:15 +0000 (20:34 +0530)]
headers_check fix: linux/bfs_fs.h

fix the following 'make headers_check' warning:

  usr/include/linux/bfs_fs.h:24: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/auto_fs4.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 15:01:19 +0000 (20:31 +0530)]
headers_check fix: linux/auto_fs4.h

fix the following 'make headers_check' warning:

  usr/include/linux/auto_fs4.h:132: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/atmbr2684.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 14:59:11 +0000 (20:29 +0530)]
headers_check fix: linux/atmbr2684.h

fix the following 'make headers_check' warning:

  usr/include/linux/atmbr2684.h:88: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/atalk.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 14:56:25 +0000 (20:26 +0530)]
headers_check fix: linux/atalk.h

fix the following 'make headers_check' warning:

  usr/include/linux/atalk.h:15: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: linux/aio_abi.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 14:50:10 +0000 (20:20 +0530)]
headers_check fix: linux/aio_abi.h

fix the following 'make headers_check' warning:

  usr/include/linux/aio_abi.h:58: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: usb/gadgetfs.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 14:46:33 +0000 (20:16 +0530)]
headers_check fix: usb/gadgetfs.h

fix the following 'make headers_check' warning:

  usr/include/linux/usb/gadgetfs.h:21: include of <linux/types.h> is preferred over <asm/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: usb/cdc.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 14:45:47 +0000 (20:15 +0530)]
headers_check fix: usb/cdc.h

fix the following 'make headers_check' warning:

  usr/include/linux/usb/cdc.h:50: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: tc_ematch/tc_em_text.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 14:44:36 +0000 (20:14 +0530)]
headers_check fix: tc_ematch/tc_em_text.h

fix the following 'make headers_check' warning:

  usr/include/linux/tc_ematch/tc_em_text.h:11: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: tc_ematch/tc_em_nbyte.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 14:43:41 +0000 (20:13 +0530)]
headers_check fix: tc_ematch/tc_em_nbyte.h

fix the following 'make headers_check' warning:

  usr/include/linux/tc_ematch/tc_em_nbyte.h:8: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: tc_ematch/tc_em_meta.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 14:42:59 +0000 (20:12 +0530)]
headers_check fix: tc_ematch/tc_em_meta.h

fix the following 'make headers_check' warning:

  usr/include/linux/tc_ematch/tc_em_meta.h:18: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: tc_ematch/tc_em_cmp.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 14:42:01 +0000 (20:12 +0530)]
headers_check fix: tc_ematch/tc_em_cmp.h

fix the following 'make headers_check' warning:

  usr/include/linux/tc_ematch/tc_em_cmp.h:8: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: tc_act/tc_pedit.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 14:41:22 +0000 (20:11 +0530)]
headers_check fix: tc_act/tc_pedit.h

fix the following 'make headers_check' warning:

  usr/include/linux/tc_act/tc_pedit.h:19: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: tc_act/tc_mirred.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 14:40:44 +0000 (20:10 +0530)]
headers_check fix: tc_act/tc_mirred.h

fix the following 'make headers_check' warning:

  usr/include/linux/tc_act/tc_mirred.h:16: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: tc_act/tc_gact.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 14:40:05 +0000 (20:10 +0530)]
headers_check fix: tc_act/tc_gact.h

fix the following 'make headers_check' warning:

  usr/include/linux/tc_act/tc_gact.h:19: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: spi/spidev.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 14:37:35 +0000 (20:07 +0530)]
headers_check fix: spi/spidev.h

fix the following 'make headers_check' warning:

  usr/include/linux/spi/spidev.h:83: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: raid/md_p.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 14:36:44 +0000 (20:06 +0530)]
headers_check fix: raid/md_p.h

fix the following 'make headers_check' warning:

  usr/include/linux/raid/md_p.h:85: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agoheaders_check fix: nfsd/syscall.h
Jaswinder Singh Rajput [Fri, 30 Jan 2009 14:35:27 +0000 (20:05 +0530)]
headers_check fix: nfsd/syscall.h

fix the following 'make headers_check' warnings:

  usr/include/linux/nfsd/syscall.h:12: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/linux/nfsd/syscall.h:104: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
15 years agogeneric-ipi: use per cpu data for single cpu ipi calls
Steven Rostedt [Thu, 29 Jan 2009 15:08:01 +0000 (10:08 -0500)]
generic-ipi: use per cpu data for single cpu ipi calls

The smp_call_function can be passed a wait parameter telling it to
wait for all the functions running on other CPUs to complete before
returning, or to return without waiting. Unfortunately, this is
currently just a suggestion and not manditory. That is, the
smp_call_function can decide not to return and wait instead.

The reason for this is because it uses kmalloc to allocate storage
to send to the called CPU and that CPU will free it when it is done.
But if we fail to allocate the storage, the stack is used instead.
This means we must wait for the called CPU to finish before
continuing.

Unfortunatly, some callers do no abide by this hint and act as if
the non-wait option is mandatory. The MTRR code for instance will
deadlock if the smp_call_function is set to wait. This is because
the smp_call_function will wait for the other CPUs to finish their
called functions, but those functions are waiting on the caller to
continue.

This patch changes the generic smp_call_function code to use per cpu
variables if the allocation of the data fails for a single CPU call. The
smp_call_function_many will fall back to the smp_call_function_single
if it fails its alloc. The smp_call_function_single is modified
to not force the wait state.

Since we now are using a single data per cpu we must synchronize the
callers to prevent a second caller modifying the data before the
first called IPI functions complete. To do so, I added a flag to
the call_single_data called CSD_FLAG_LOCK. When the single CPU is
called (which can be called when a many call fails an alloc), we
set the LOCK bit on this per cpu data. When the caller finishes
it clears the LOCK bit.

The caller must wait till the LOCK bit is cleared before setting
it. When it is cleared, there is no IPI function using it.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Jens Axboe <jens.axboe@oracle.com>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
15 years agoMerge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4
Linus Torvalds [Fri, 30 Jan 2009 16:54:29 +0000 (08:54 -0800)]
Merge branch 'for_linus' of git://git./linux/kernel/git/tytso/ext4

* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4:
  ext4: Remove bogus BUG() check in ext4_bmap()
  ext4: Fix building with EXT4FS_DEBUG
  ext4: Initialize the new group descriptor when resizing the filesystem
  ext4: Fix ext4_free_blocks() w/o a journal when files have indirect blocks
  jbd2: On a __journal_expect() assertion failure printk "JBD2", not "EXT3-fs"
  ext3: Add sanity check to make_indexed_dir
  ext4: Add sanity check to make_indexed_dir
  ext4: only use i_size_high for regular files
  ext4: fix wrong use of do_div

15 years agoMerge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block
Linus Torvalds [Fri, 30 Jan 2009 16:46:42 +0000 (08:46 -0800)]
Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block

* 'for-linus' of git://git.kernel.dk/linux-2.6-block:
  cfq-iosched: Allow RT requests to pre-empt ongoing BE timeslice
  block: add sysfs file for controlling io stats accounting
  Mark mandatory elevator functions in the biodoc.txt
  include/linux: Add bsg.h to the Kernel exported headers
  block: silently error an unsupported barrier bio
  block: Fix documentation for blkdev_issue_flush()
  block: add bio_rw_flagged() for testing bio->bi_rw
  block: seperate bio/request unplug and sync bits
  block: export SSD/non-rotational queue flag through sysfs
  Fix small typo in bio.h's documentation
  block: get rid of the manual directory counting in blktrace
  block: Allow empty integrity profile
  block: Remove obsolete BUG_ON
  block: Don't verify integrity metadata on read error

15 years agoMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
Linus Torvalds [Fri, 30 Jan 2009 16:41:36 +0000 (08:41 -0800)]
Merge git://git./linux/kernel/git/davem/net-2.6

* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (29 commits)
  tulip: fix 21142 with 10Mbps without negotiation
  drivers/net/skfp: if !capable(CAP_NET_ADMIN): inverted logic
  gianfar: Fix Wake-on-LAN support
  smsc911x: timeout reaches -1
  smsc9420: fix interrupt signalling test failures
  ucc_geth: Change uec phy id to the same format as gianfar's
  wimax: fix build issue when debugfs is disabled
  netxen: fix memory leak in drivers/net/netxen_nic_init.c
  tun: Add some missing TUN compat ioctl translations.
  ipv4: fix infinite retry loop in IP-Config
  net: update documentation ip aliases
  net: Fix OOPS in skb_seq_read().
  net: Fix frag_list handling in skb_seq_read
  netxen: revert jumbo ringsize
  ath5k: fix locking in ath5k_config
  cfg80211: print correct intersected regulatory domain
  cfg80211: Fix sanity check on 5 GHz when processing country IE
  iwlwifi: fix kernel oops when ucode DMA memory allocation failure
  rtl8187: Fix error in setting OFDM power settings for RTL8187L
  mac80211: remove Michael Wu as maintainer
  ...

15 years agoAdd enable_ms to jsm driver
Paul Larson [Fri, 30 Jan 2009 16:21:49 +0000 (10:21 -0600)]
Add enable_ms to jsm driver

This fixes a crash observed when non-existant enable_ms function is
called for jsm driver.

Signed-off-by: Scott Kilau <Scott.Kilau@digi.com>
Signed-off-by: Paul Larson <pl@linux.vnet.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
15 years agopowerpc/5200: update device tree binding documentation
Grant Likely [Fri, 30 Jan 2009 15:23:33 +0000 (08:23 -0700)]
powerpc/5200: update device tree binding documentation

This patch updates the mpc5200 binding documentation to match
actual usage conventions, to remove incorrect information, and
to remove topics which are more thoroughly described elsewhere.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
15 years agocpumask: convert lib/smp_processor_id to new cpumask ops
Rusty Russell [Sun, 11 Jan 2009 05:58:09 +0000 (21:58 -0800)]
cpumask: convert lib/smp_processor_id to new cpumask ops

Impact: fix debug_smp_processor_id() for CONFIG_CPUMASK_OFFSTACK=y

The scheduler now uses the new cpumask API, which deals up to
nr_cpumask_bits, whereas the API used NR_CPUS bits.

If CONFIG_CPUMASK_OFFSTACK=y these two are not equal, so the top bits
are undefined.  Leading to bug 12518 "BUG: using smp_processor_id() in
preemptible [00000000] code: dellWirelessCtl/..."

The fix is simple: use the modern API in the check.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>