13 years ago[PATCH] handling of slave mounts
Ram Pai [Mon, 7 Nov 2005 22:21:01 +0000]
[PATCH] handling of slave mounts

This makes bind, rbind, move, clone namespace and umount operations
aware of the semantics of slave mount (see Documentation/sharedsubtree.txt
in the last patch of the series for detailed description).

Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] introduce slave mounts
Ram Pai [Mon, 7 Nov 2005 22:20:48 +0000]
[PATCH] introduce slave mounts

A slave mount always has a master mount from which it receives
mount/umount events.  Unlike shared mount the event propagation does not
flow from the slave mount to the master.

Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] shared mounts handling: umount
Ram Pai [Mon, 7 Nov 2005 22:20:17 +0000]
[PATCH] shared mounts handling: umount

An unmount of a mount creates a umount event on the parent.  If the
parent is a shared mount, it gets propagated to all mounts in the peer
group.

Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] shared mounts handling: move
Ram Pai [Mon, 7 Nov 2005 22:20:03 +0000]
[PATCH] shared mounts handling: move

Implement handling of mount --move in presense of shared mounts (see
Documentation/sharedsubtree.txt in the end of patch series for detailed
description).

Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] shared mount handling: bind and rbind
Ram Pai [Mon, 7 Nov 2005 22:19:50 +0000]
[PATCH] shared mount handling: bind and rbind

Implement handling of MS_BIND in presense of shared mounts (see
Documentation/sharedsubtree.txt in the end of patch series for detailed
description).

Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] introduce shared mounts
Ram Pai [Mon, 7 Nov 2005 22:19:33 +0000]
[PATCH] introduce shared mounts

This creates shared mounts.  A shared mount when bind-mounted to some
mountpoint, propagates mount/umount events to each other.  All the
shared mounts that propagate events to each other belong to the same
peer-group.

Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] beginning of the shared-subtree proper
Ram Pai [Mon, 7 Nov 2005 22:19:07 +0000]
[PATCH] beginning of the shared-subtree proper

A private mount does not forward or receive propagation.  This patch
provides user the ability to convert any mount to private.

Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] making namespace_sem global
Ram Pai [Mon, 7 Nov 2005 22:17:51 +0000]
[PATCH] making namespace_sem global

This removes the per-namespace semaphore in favor of a global semaphore.
This can have an effect on namespace scalability.

Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] mount expiry fixes
Ram Pai [Mon, 7 Nov 2005 22:17:22 +0000]
[PATCH] mount expiry fixes

 - clean up the ugliness in may_umount_tree()

 - fix a bug in do_loopback().  after cloning a tree, do_loopback()
   unlinks only the topmost mount of the cloned tree, leaving behind the
   children mounts on their corresponding expiry list.

Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] umount_tree() locking change
Ram Pai [Mon, 7 Nov 2005 22:17:04 +0000]
[PATCH] umount_tree() locking change

umount is done under the protection of the namespace semaphore.  This
can lead to intresting deadlocks when the last reference to a mount is
released, if filesystem code is in sufficiently nasty state.

This collects all the to-be-released-mounts and releases them after
releasing the namespace semaphore.  That both reduces the time we are
holding namespace semaphore and gets the things more robust.

Idea proposed by Al Viro.

Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] sanitize the interface of graft_tree().
Ram Pai [Mon, 7 Nov 2005 22:16:29 +0000]
[PATCH] sanitize the interface of graft_tree().

Old semantics: graft_tree() grabs a reference on the vfsmount before
returning success.

New one: graft_tree() leaves that to caller.

All the callers of graft_tree() immediately dropped that reference
anyway.  Changing the interface takes care of this unnecessary overhead.

Idea proposed by Al Viro.

Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] lindent fs/namespace.c
Ram Pai [Mon, 7 Nov 2005 22:16:09 +0000]
[PATCH] lindent fs/namespace.c

Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] make /proc/mounts pollable
Al Viro [Mon, 7 Nov 2005 22:15:49 +0000]
[PATCH] make /proc/mounts pollable

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] allow callers of seq_open do allocation themselves
Al Viro [Mon, 7 Nov 2005 22:15:34 +0000]
[PATCH] allow callers of seq_open do allocation themselves

Allow caller of seq_open() to kmalloc() seq_file + whatever else they
want and set ->private_data to it.  seq_open() will then abstain from
doing allocation itself.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] cleanups and bug fix in do_loopback()
Al Viro [Mon, 7 Nov 2005 22:15:04 +0000]
[PATCH] cleanups and bug fix in do_loopback()

 - check_mnt() on the source of binding should've been unconditional
   from the very beginning.  My fault - as far I could've trace it,
   that's an old thinko made back in 2001.  Kudos to Miklos for spotting
   it...

   Fixed.

 - code cleaned up.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] saner handling of auto_acct_off() and DQUOT_OFF() in umount
Al Viro [Mon, 7 Nov 2005 22:13:39 +0000]
[PATCH] saner handling of auto_acct_off() and DQUOT_OFF() in umount

The way we currently deal with quota and process accounting that might
keep vfsmount busy at umount time is inherently broken; we try to turn
them off just in case (not quite correctly, at that) and

  a) pray umount doesn't fail (otherwise they'll stay turned off)
  b) pray nobody doesn anything funny just as we turn quota off

Moreover, LSM provides hooks for doing the same sort of broken logics.

The proper way to deal with that is to introduce the second kind of
reference to vfsmount.  Semantics:

 - when the last normal reference is dropped, all special ones are
   converted to normal ones and if there had been any, cleanup is done.
 - normal reference can be cloned into a special one
 - special reference can be converted to normal one; that's a no-op if
   we'd already passed the point of no return (i.e.  mntput() had
   converted special references to normal and started cleanup).

The way it works: e.g. starting process accounting converts the vfsmount
reference pinned by the opened file into special one and turns it back
to normal when it gets shut down; acct_auto_close() is done when no
normal references are left.  That way it does *not* obstruct umount(2)
and it silently gets turned off when the last normal reference to
vfsmount is gone.  Which is exactly what we want...

The same should be done by LSM module that holds some internal
references to vfsmount and wants to shut them down on umount - it should
make them special and security_sb_umount_close() will be called exactly
when the last normal reference to vfsmount is gone.

quota handling is even simpler - we don't use normal file IO anymore, so
there's no need to hold vfsmounts at all.  DQUOT_OFF() is done from
deactivate_super(), where it really belongs.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years agoMerge master.kernel.org:/home/rmk/linux-2.6-mmc
Linus Torvalds [Mon, 7 Nov 2005 21:32:52 +0000]
Merge master.kernel.org:/home/rmk/linux-2.6-mmc

13 years agoMerge master.kernel.org:/home/rmk/linux-2.6-arm
Linus Torvalds [Mon, 7 Nov 2005 21:32:21 +0000]
Merge master.kernel.org:/home/rmk/linux-2.6-arm

13 years ago[ARM] Allow SMP if Realview MPcore is selected
Russell King [Mon, 7 Nov 2005 21:30:21 +0000]
[ARM] Allow SMP if Realview MPcore is selected

This patch puts into place the final piece of the puzzle for SMP
support on ARM.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

13 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq
Linus Torvalds [Mon, 7 Nov 2005 21:28:20 +0000]
Merge /pub/scm/linux/kernel/git/davej/cpufreq

13 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/davej/agpgart
Linus Torvalds [Mon, 7 Nov 2005 21:26:58 +0000]
Merge /pub/scm/linux/kernel/git/davej/agpgart

13 years ago[ARM] 3120/1: Fix MMC/SD card driver resume deadlock
Uli Luckas [Mon, 7 Nov 2005 21:22:07 +0000]
[ARM] 3120/1: Fix MMC/SD card driver resume deadlock

Patch from Uli Luckas

This is a simplification of patch 3116/1 as sugested by Russell King.

Signed-off-by: Uli Luckas <u.luckas@road-gmbh.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

13 years ago[ARM] 3121/1: unconditionally use XCB=101 on ixp2000
Lennert Buytenhek [Mon, 7 Nov 2005 21:12:09 +0000]
[ARM] 3121/1: unconditionally use XCB=101 on ixp2000

Patch from Lennert Buytenhek

Since we have to use XCB=101 instead of XCB=000 on the ixp2400 to
prevent it from regularly falling over, and since we have to deal with
manual write buffer flushing because of that, we might as well use
XCB=101 on all ixp2000 platforms since it's faster than XCB=000.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

13 years ago[ARM] 3118/1: fix and reenable nwfpe extended precision emulation for big-endian
Lennert Buytenhek [Mon, 7 Nov 2005 21:12:08 +0000]
[ARM] 3118/1: fix and reenable nwfpe extended precision emulation for big-endian

Patch from Lennert Buytenhek

nwfpe extended precision emulation used to be broken on big-endian
and was therefore disabled.  This patch fixes nwfpe so that it copies
extended precision floats to/from userspace in the proper word order
(similar to patch #2046, see the description of that patch for an
explanation) and reenables the Kconfig option.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

13 years ago[ARM] 3117/1: nwfpe kernel memory info leak
Lennert Buytenhek [Mon, 7 Nov 2005 21:12:07 +0000]
[ARM] 3117/1: nwfpe kernel memory info leak

Patch from Lennert Buytenhek

The routine that nwfpe uses for converting floats/doubles to
extended precision fails to zero two bytes of kernel stack.  This
is not immediately obvious, as the floatx80 structure has 16 bits
of implicit padding (by design.)  These two bytes are copied to
userspace when an stfe is emulated, causing a possible info leak.

Make the padding explicit and zero it out in the relevant places.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

13 years ago[ARM SMP] Add Realview MPcore SMP support
Russell King [Mon, 7 Nov 2005 21:05:42 +0000]
[ARM SMP] Add Realview MPcore SMP support

Add SMP support for the MPcore tile fitted to the Realview ARM
platform.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

13 years agoMerge with ARM SMP tree
Russell King [Mon, 7 Nov 2005 21:04:24 +0000]
Merge with ARM SMP tree

13 years ago[ARM] Add support for Realview with MPcore tile
Russell King [Mon, 7 Nov 2005 21:01:06 +0000]
[ARM] Add support for Realview with MPcore tile

Add uniprocessor support for Realview platform fitted with the
MPcore (SMP) tile.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

13 years agoMerge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
Linus Torvalds [Mon, 7 Nov 2005 19:15:23 +0000]
Merge branch 'upstream' of git://ftp.linux-mips.org/upstream-linus

13 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/dtor/input
Linus Torvalds [Mon, 7 Nov 2005 18:30:33 +0000]
Merge /pub/scm/linux/kernel/git/dtor/input

13 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/tglx/mtd-2.6
Linus Torvalds [Mon, 7 Nov 2005 18:24:08 +0000]
Merge /pub/scm/linux/kernel/git/tglx/mtd-2.6

Some manual fixups for clashing kfree() cleanups etc.

13 years agoVINO driver version 0.0.5.
Ladislav Michl [Thu, 1 Sep 2005 15:07:34 +0000]
VINO driver version 0.0.5.

Second cut of the VINO / Indycam driver for the Silicon Graphics Indy,
much more feature complete and bug free.

13 years agoRedefine outs[wl] for ide_outs[wl].
Atsushi Nemoto [Sun, 6 Nov 2005 14:58:21 +0000]
Redefine outs[wl] for ide_outs[wl].

Add missing bits to fix D-cache aliasing problem in the PIO IDE driver.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

13 years agoDelete duplicate definitions.
Ralf Baechle [Mon, 7 Nov 2005 15:36:44 +0000]
Delete duplicate definitions.

This reverts 8f91ed6c2fec8cb746e4dc86a79247162b4c5a7a.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

13 years agoFix return type of setup_frame variants
Atsushi Nemoto [Sat, 5 Nov 2005 14:00:58 +0000]
Fix return type of setup_frame variants

Since 2.6.13-rc1 setup_frame and its variants return int.  But some bits
were missed in the conversion.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

13 years agoIRIX: Use schedule_timeout_interruptible.
Ralf Baechle [Sat, 5 Nov 2005 11:26:43 +0000]
IRIX: Use schedule_timeout_interruptible.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

13 years agoDefine MAX_UDELAY_MS
Atsushi Nemoto [Fri, 4 Nov 2005 17:02:54 +0000]
Define MAX_UDELAY_MS

If HZ was 1000, mdelay(2) cause overflow on multiplication in
__udelay.  We should define MAX_UDELAY_MS properly to prevent this.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

13 years agoUse rtc_lock to protect RTC operations
Atsushi Nemoto [Wed, 2 Nov 2005 16:01:15 +0000]
Use rtc_lock to protect RTC operations

Many RTC routines were not protected against each other, so there are
potential races, for example, ntp-update against /dev/rtc.  This patch
fixes them using rtc_lock.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

13 years agoRemove mips_rtc_lock
Atsushi Nemoto [Wed, 2 Nov 2005 16:02:40 +0000]
Remove mips_rtc_lock

The mips_rtc_lock is no longer needed because RTC operations should be
protected already by other mechanism. (rtc_lock, local_irq_save, etc.)

Also, locking whole rtc_get_time/rtc_set_time should be avoided while
some RTC routines might take very long time (a few seconds).

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

13 years agoAdd .gitignore files for Turbochannel
Ralf Baechle [Mon, 7 Nov 2005 18:05:37 +0000]
Add .gitignore files for Turbochannel

13 years agoAdd .gitignore files for MIPS.
Ralf Baechle [Mon, 7 Nov 2005 18:05:37 +0000]
Add .gitignore files for MIPS.

13 years agoVPE loader janitoring
Ralf Baechle [Mon, 31 Oct 2005 23:34:52 +0000]
VPE loader janitoring

 o Switch to dynamic major
 o Remove duplicate SHN_MIPS_SCOMMON definition
 o Coding style: remove typedefs.
 o Coding style: reorder to avoid the need for forward declarations
 o Use kzalloc.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

13 years agoPNX8550 uses a MIPS32-like processor core, not R4xx0.
Ralf Baechle [Mon, 31 Oct 2005 13:08:37 +0000]
PNX8550 uses a MIPS32-like processor core, not R4xx0.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

13 years agoO2 parport definitions
Ilya A. Volynets-Evenbakh [Wed, 26 Oct 2005 22:30:21 +0000]
O2 parport definitions

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

13 years agoOSS MIPS drivers: "extern inline" -> "static inline"
Adrian Bunk [Sun, 30 Oct 2005 00:05:26 +0000]
OSS MIPS drivers: "extern inline" -> "static inline"

"extern inline" doesn't make much sense.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

13 years agoAdd spaces to MODULE_PROC_FAMILY values.
Ralf Baechle [Mon, 31 Oct 2005 00:33:01 +0000]
Add spaces to MODULE_PROC_FAMILY values.

Only a cosmetic fix to make the output of modinfo look readable.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

13 years agoTurn rtlx upside down.
Ralf Baechle [Mon, 31 Oct 2005 00:30:39 +0000]
Turn rtlx upside down.

 o Coding style
 o Race condition on open
 o Switch to dynamic major
 o Header file cleanup

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

13 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/bunk/trivial
Linus Torvalds [Mon, 7 Nov 2005 17:01:32 +0000]
Merge /pub/scm/linux/kernel/git/bunk/trivial

13 years agoMerge branch 'block-dir' of git://brick.kernel.dk/data/git/linux-2.6-block
Linus Torvalds [Mon, 7 Nov 2005 16:32:39 +0000]
Merge branch 'block-dir' of git://brick.kernel.dk/data/git/linux-2.6-block

13 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/perex/alsa
Linus Torvalds [Mon, 7 Nov 2005 16:09:02 +0000]
Merge /pub/scm/linux/kernel/git/perex/alsa

13 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/acme/net-2.6
Linus Torvalds [Mon, 7 Nov 2005 16:05:11 +0000]
Merge /pub/scm/linux/kernel/git/acme/net-2.6

13 years agoMerge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik...
Linus Torvalds [Mon, 7 Nov 2005 16:04:01 +0000]
Merge branch 'upstream-linus' of /linux/kernel/git/jgarzik/netdev-2.6

13 years ago[PATCH] m68knommu: move some platform irq support out of irq.h
Greg Ungerer [Mon, 7 Nov 2005 04:09:50 +0000]
[PATCH] m68knommu: move some platform irq support out of irq.h

Move some of the m68knommu platform specific irq core support
to its own header, irqnode.h. Having it in asm-m68knommu/irq.h
causes some build pain, since it is included in a number of
common code places (and not all the required definitions will
be included at these places).

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] m68knommu: FEC ethernet support for the ColdFire 5208
Greg Ungerer [Mon, 7 Nov 2005 04:09:50 +0000]
[PATCH] m68knommu: FEC ethernet support for the ColdFire 5208

Add support for the new 5208 ColdFire (Matt Waddel / Mike Lavender)
Patch originally from Matt Waddel (from code originally written by
Mike Lavender).

I also re-ordered the init code to avoid interrupt lockups on
some platforms (at least the 5275, but others have reported it on
the 5235 as well).

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] m68knommu: FEC ethernet header support for the ColdFire 5208
Greg Ungerer [Mon, 7 Nov 2005 04:09:50 +0000]
[PATCH] m68knommu: FEC ethernet header support for the ColdFire 5208

Add support for the new 5208 ColdFire in the FEC ethernet header.
Patch originally from Matt Waddel (from code originally written by
Mike Lavender).

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] m68knommu: enable cache support code for ColdFIre 5249
Greg Ungerer [Mon, 7 Nov 2005 04:09:50 +0000]
[PATCH] m68knommu: enable cache support code for ColdFIre 5249

Enable the ColdFire 5249 cache support code - it should have been on.
Also one more change of "extern inline" to "static inline".

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] m68knommu: add ColdFire 5208 configure support
Greg Ungerer [Mon, 7 Nov 2005 04:09:50 +0000]
[PATCH] m68knommu: add ColdFire 5208 configure support

Added support for the new Freescale 5208 ColdFire processor.
Also changed name "Motorola" to new company name "Freescale".

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] m68knommu: add 5208 ColdFire UART support to ColdFire serial driver
Greg Ungerer [Mon, 7 Nov 2005 04:09:50 +0000]
[PATCH] m68knommu: add 5208 ColdFire UART support to ColdFire serial driver

Add support for the Freescale 5208 processor UART's to the common
ColdFire serial port code.

Patch originally from Matt Waddel (from code originally written by
Mike Lavender).

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] m68knommu: align param section and add 5208EVB linker support
Greg Ungerer [Mon, 7 Nov 2005 04:09:50 +0000]
[PATCH] m68knommu: align param section and add 5208EVB linker support

Align the param section. It can end up starting on an unalingned
boundary depending on the size of ksymtab_strings. If it is
unaligned things like modules will fail to load with unaligned
access traps.

Add linker scipt support for the M5208EVB board.
Patch originally from Matt Waddel.

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] m68knommu: handle non base address 0 memory of M5208EVB board
Greg Ungerer [Mon, 7 Nov 2005 04:09:50 +0000]
[PATCH] m68knommu: handle non base address 0 memory of M5208EVB board

The Freescale M5208EVB ColdFire eval board is one of the few that
doesn't have its DRAM based at address 0. Handle this special case
in the common ColdFire startup code.

Patch originally from Matt Waddel.

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] m68knommu: modify the ColdFire PIT timer for new 5208
Greg Ungerer [Mon, 7 Nov 2005 04:09:50 +0000]
[PATCH] m68knommu: modify the ColdFire PIT timer for new 5208

Modified common ColdFire PIT timer code to support the 5208 as well.
It uses a different set of mask and interrupt bits than other ColdFire
processors. The defines for these bits have been moved in header
files and set appropriately for the different processor varients.
Patch originally from Matt Waddel.

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] m68knommu: platform config code for 5208 ColdFire
Greg Ungerer [Mon, 7 Nov 2005 04:09:50 +0000]
[PATCH] m68knommu: platform config code for 5208 ColdFire

Platform configuration code for the Freescale 5208 ColdFire processor.
Patch originally from Matt Waddel (from code originally written by
Mike Lavender).

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] m68knommu: add ColdFire 5208 and M5208EVB build support
Greg Ungerer [Mon, 7 Nov 2005 04:09:50 +0000]
[PATCH] m68knommu: add ColdFire 5208 and M5208EVB build support

Add build support for the new Freescale 5208 ColdFire processor,
and its M5208EVB eval board. Patch originally from Matt Waddel.

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] check for failed kmalloc in inftlmount.c
Greg Ungerer [Mon, 7 Nov 2005 04:09:50 +0000]
[PATCH] check for failed kmalloc in inftlmount.c

The INFTL mount code contains a kmalloc() followed by a memset() without
handling a possible memory allocation failure.

Signed-off-by: <panagiotis.issaris@mech.kuleuven.ac.be>
Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] m68knommu: use the ColdFire PIT timer for new 5208
Greg Ungerer [Mon, 7 Nov 2005 04:09:50 +0000]
[PATCH] m68knommu: use the ColdFire PIT timer for new 5208

The Freescale 5208 ColdFire uses the common PIT timer code for
its internal timer. Build it when configured for the 5208 processor.
Add support for the internal register map of the 5208 ColdFire fmaily.
Patch originally from Matt Waddel (from code originally written by
Mike Lavender).

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] m68knommu: add 5208 ColdFire platform Makefile
Greg Ungerer [Mon, 7 Nov 2005 04:09:50 +0000]
[PATCH] m68knommu: add 5208 ColdFire platform Makefile

Add Freescale 5208 ColdFire platform Makefile.
Patch originally from Matt Waddel (from code originally written by
Mike Lavender).

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] m68knommu: add ColdFire 5208 setup support
Greg Ungerer [Mon, 7 Nov 2005 04:09:50 +0000]
[PATCH] m68knommu: add ColdFire 5208 setup support

Add setup support for the new Freescale 5208 ColdFire processor.
(Also fixed a little typo in there, "UNKOWN" -> "UNKNOWN").
Patch originally from Matt Waddel (from code originally written by
Mike Lavender).

Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] max1619 fix
Andrew Morton [Mon, 7 Nov 2005 09:01:49 +0000]
[PATCH] max1619 fix

Something horrid has happened to the indenting and braces in this function,
producing a warning:

drivers/hwmon/max1619.c: In function `max1619_detect':
drivers/hwmon/max1619.c:196: warning: `man_id' might be used uninitialized in this function
drivers/hwmon/max1619.c:196: warning: `chip_id' might be used uninitialized in this function

Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] drivers/pnp/: cleanups
Adrian Bunk [Mon, 7 Nov 2005 09:01:48 +0000]
[PATCH] drivers/pnp/: cleanups

This patch contains the following possible cleanups:
- make needlessly global code static
- #if 0 the following unused global function:
  - core.c: pnp_remove_device
- #if 0 the following unneeded EXPORT_SYMBOL's:
  - card.c: pnp_add_card
  - card.c: pnp_remove_card
  - card.c: pnp_add_card_device
  - card.c: pnp_remove_card_device
  - card.c: pnp_add_card_id
  - core.c: pnp_register_protocol
  - core.c: pnp_unregister_protocol
  - core.c: pnp_add_device
  - core.c: pnp_remove_device
  - pnpacpi/core.c: pnpacpi_protocol
  - driver.c: pnp_add_id
  - isapnp/core.c: isapnp_read_byte
  - manager.c: pnp_auto_config_dev
  - resource.c: pnp_register_dependent_option
  - resource.c: pnp_register_independent_option
  - resource.c: pnp_register_irq_resource
  - resource.c: pnp_register_dma_resource
  - resource.c: pnp_register_port_resource
  - resource.c: pnp_register_mem_resource

Note that this patch #if 0's exactly one functions and removes no
functions.  Most it does is the #if 0 of EXPORT_SYMBOL's, so if any modular
code will use any of them, re-adding will be trivial.

Modular ISAPnP might be interesting in some cases, but this is more legacy
code.  If someone would work on it to sort all the issues out (starting
with the point that most users of __ISAPNP__ will have to be fixed)
re-enabling the required EXPORT_SYMBOL's won't be hard for him.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Adam Belay <ambx1@neo.rr.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] unexport phys_proc_id and cpu_core_id
Adrian Bunk [Mon, 7 Nov 2005 09:01:46 +0000]
[PATCH] unexport phys_proc_id and cpu_core_id

EXPORT_SYMBOL's for phys_proc_id and cpu_core_id were added this year but
never used.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] fs/super.c: unexport user_get_super
Adrian Bunk [Mon, 7 Nov 2005 09:01:46 +0000]
[PATCH] fs/super.c: unexport user_get_super

There's no modular usage in the kernel and modules shouldn't use this
symbol.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] sound/oss/sequencer_syms: unexport reprogram_timer
Adrian Bunk [Mon, 7 Nov 2005 09:01:45 +0000]
[PATCH] sound/oss/sequencer_syms: unexport reprogram_timer

This patch remoes an unneeded EXPORT_SYMBOL.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] __deprecated_for_modules: panic_timeout
Adrian Bunk [Mon, 7 Nov 2005 09:01:44 +0000]
[PATCH] __deprecated_for_modules: panic_timeout

This looks like something which out-of-tree code could possibly be using.
Give panic_timeout the twelve-month treatment.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] __deprecated_for_modules: insert_resource
Adrian Bunk [Mon, 7 Nov 2005 09:01:44 +0000]
[PATCH] __deprecated_for_modules: insert_resource

This looks like something which out-of-tree code could possibly be using.
Give insert_resource the twelve-month treatment.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] unexport uts_sem
Adrian Bunk [Mon, 7 Nov 2005 09:01:43 +0000]
[PATCH] unexport uts_sem

I didn't find any possible modular usage in the kernel.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] unexport idle_cpu
Adrian Bunk [Mon, 7 Nov 2005 09:01:42 +0000]
[PATCH] unexport idle_cpu

I didn't find any possible modular usage in the kernel.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] mm/swap_state.c: unexport swapper_space
Adrian Bunk [Mon, 7 Nov 2005 09:01:41 +0000]
[PATCH] mm/swap_state.c: unexport swapper_space

I didn't find any possible modular usage in the kernel.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] mm/swapfile.c: unexport total_swap_pages
Adrian Bunk [Mon, 7 Nov 2005 09:01:41 +0000]
[PATCH] mm/swapfile.c: unexport total_swap_pages

I didn't find any possible modular usage in the kernel.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] mm/swap.c: unexport vm_acct_memory
Adrian Bunk [Mon, 7 Nov 2005 09:01:40 +0000]
[PATCH] mm/swap.c: unexport vm_acct_memory

I didn't find any possible modular usage in the kernel.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] unexport console_unblank
Adrian Bunk [Mon, 7 Nov 2005 09:01:39 +0000]
[PATCH] unexport console_unblank

I didn't find any possible modular usage of console_unblank in the
kernel.

This patch was already ACK'ed by Alan Cox.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] unexport nr_swap_pages
Adrian Bunk [Mon, 7 Nov 2005 09:01:39 +0000]
[PATCH] unexport nr_swap_pages

I didn't find any possible modular usage in the kernel.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] unexport clear_page_dirty_for_io
Adrian Bunk [Mon, 7 Nov 2005 09:01:38 +0000]
[PATCH] unexport clear_page_dirty_for_io

I didn't find any possible modular usage in the kernel.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] unexport hugetlb_total_pages
Adrian Bunk [Mon, 7 Nov 2005 09:01:37 +0000]
[PATCH] unexport hugetlb_total_pages

I didn't find any possible modular usage in the kernel.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] mm/{mmap,nommu}.c: several unexports
Adrian Bunk [Mon, 7 Nov 2005 09:01:37 +0000]
[PATCH] mm/{mmap,nommu}.c: several unexports

I didn't find any possible modular usage in the kernel.

This patch was already ACK'ed by Christoph Hellwig.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] kfree cleanup: security
Jesper Juhl [Mon, 7 Nov 2005 09:01:35 +0000]
[PATCH] kfree cleanup: security

This is the security/ part of the big kfree cleanup patch.

Remove pointless checks for NULL prior to calling kfree() in security/.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Acked-by: James Morris <jmorris@namei.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] kfree cleanup: arch
Jesper Juhl [Mon, 7 Nov 2005 09:01:35 +0000]
[PATCH] kfree cleanup: arch

This is the arch/ part of the big kfree cleanup patch.

Remove pointless checks for NULL prior to calling kfree() in arch/.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Acked-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] kfree cleanup: fs
Jesper Juhl [Mon, 7 Nov 2005 09:01:34 +0000]
[PATCH] kfree cleanup: fs

This is the fs/ part of the big kfree cleanup patch.

Remove pointless checks for NULL prior to calling kfree() in fs/.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] kfree cleanup: misc remaining drivers
Jesper Juhl [Mon, 7 Nov 2005 09:01:32 +0000]
[PATCH] kfree cleanup: misc remaining drivers

This is the remaining misc drivers/ part of the big kfree cleanup patch.

Remove pointless checks for NULL prior to calling kfree() in misc files in
drivers/.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Acked-by: Aristeu Sergio Rozanski Filho <aris@cathedrallabs.org>
Acked-by: Roland Dreier <rolandd@cisco.com>
Acked-by: Pierre Ossman <drzeus@drzeus.cx>
Acked-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Acked-by: Len Brown <len.brown@intel.com>
Acked-by: "Antonino A. Daplas" <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] kfree cleanup: drivers/media
Jesper Juhl [Mon, 7 Nov 2005 09:01:31 +0000]
[PATCH] kfree cleanup: drivers/media

This is the drivers/media/ part of the big kfree cleanup patch.

Remove pointless checks for NULL prior to calling kfree() in drivers/media/.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Cc: Johannes Stezenbach <js@linuxtv.org>
Cc: Michael Krufky <mkrufky@m1k.net>
Cc: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Acked-by : Manu Abraham <manu@linuxtv.org>
Acked-by: Andreas Oberritter <obi@linuxtv.org>
Acked-by: Wilson Michaels <wilsonmichaels@earthlink.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] kfree cleanup: drivers/s390
Jesper Juhl [Mon, 7 Nov 2005 09:01:30 +0000]
[PATCH] kfree cleanup: drivers/s390

This is the drivers/s390/ part of the big kfree cleanup patch.

Remove pointless checks for NULL prior to calling kfree() in drivers/s390/.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Acked-by: Cornelia Huck <cohuck@de.ibm.com>
Acked-by: Stefan Bader <Stefan.Bader@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] kfree cleanup: drivers/isdn
Jesper Juhl [Mon, 7 Nov 2005 09:01:29 +0000]
[PATCH] kfree cleanup: drivers/isdn

This is the drivers/isdn/ part of the big kfree cleanup patch.

Remove pointless checks for NULL prior to calling kfree() in drivers/isdn/.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Acked-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] kfree cleanup: drivers/char
Jesper Juhl [Mon, 7 Nov 2005 09:01:29 +0000]
[PATCH] kfree cleanup: drivers/char

This is the drivers/char/ part of the big kfree cleanup patch.

Remove pointless checks for NULL prior to calling kfree() in drivers/char/.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] kfree cleanup: drivers/mtd
Jesper Juhl [Mon, 7 Nov 2005 09:01:27 +0000]
[PATCH] kfree cleanup: drivers/mtd

This is the drivers/mtd part of the big kfree cleanup patch.

Remove pointless checks for NULL prior to calling kfree() in drivers/mtd/.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Acked-by: Joern Engel <joern@wohnheim.fh-wedel.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] kfree cleanup: drivers/scsi
Jesper Juhl [Mon, 7 Nov 2005 09:01:26 +0000]
[PATCH] kfree cleanup: drivers/scsi

This is the drivers/scsi/ part of the big kfree cleanup patch.

Remove pointless checks for NULL prior to calling kfree() in drivers/scsi/.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Acked-by: Kai Makisara <kai.makisara@kolumbus.fi>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] bluetooth: kmalloc + memset -> kzalloc conversion
Deepak Saxena [Mon, 7 Nov 2005 09:01:26 +0000]
[PATCH] bluetooth: kmalloc + memset -> kzalloc conversion

Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Cc: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] ide: kmalloc + memset -> kzalloc conversion
Deepak Saxena [Mon, 7 Nov 2005 09:01:25 +0000]
[PATCH] ide: kmalloc + memset -> kzalloc conversion

Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] drivers/firmware: kmalloc + memset -> kzalloc conversion
Deepak Saxena [Mon, 7 Nov 2005 09:01:24 +0000]
[PATCH] drivers/firmware: kmalloc + memset -> kzalloc conversion

Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] drivers/fc4: kmalloc + memset -> kzalloc conversion
Deepak Saxena [Mon, 7 Nov 2005 09:01:24 +0000]
[PATCH] drivers/fc4: kmalloc + memset -> kzalloc conversion

Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] drivers/eisa: kmalloc + memset -> kzalloc conversion
Deepak Saxena [Mon, 7 Nov 2005 09:01:23 +0000]
[PATCH] drivers/eisa: kmalloc + memset -> kzalloc conversion

Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

13 years ago[PATCH] drivers/dio: kmalloc + memset -> kzalloc conversion
Deepak Saxena [Mon, 7 Nov 2005 09:01:22 +0000]
[PATCH] drivers/dio: kmalloc + memset -> kzalloc conversion

Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>