]> git.baikalelectronics.ru Git - kernel.git/commit
[PARISC] Handle wrapping in expand_upwards()
authorHelge Deller <deller@gmx.de>
Tue, 19 Dec 2006 18:28:33 +0000 (19:28 +0100)
committerKyle McMartin <kyle@minerva.i.cabal.ca>
Thu, 21 Jun 2007 21:46:20 +0000 (17:46 -0400)
commitd8f045dd27955e294e8c99df77d90dddb28f38d4
tree07fabea840fa598e510b4da899ef7f5b06282683
parentbf25b256e88ac00f3dbb3231b075004eed617e45
[PARISC] Handle wrapping in expand_upwards()

Function expand_upwards() did not guarded against wrapping
around to address 0. This fixes the adjtimex02 testcase from
the Linux Test Project on a 32bit PARISC kernel.

[expand_upwards is only used on parisc and ia64; it looks like it does
 the right thing on both. --kyle]

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: Tony Luck <tony.luck@intel.com>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
mm/mmap.c