From: Dan McGee Date: Mon, 17 Oct 2011 13:05:23 +0000 (+0000) Subject: powerpc+sparc64/mm: Remove hack in mmap randomize layout X-Git-Tag: v3.2.70~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9cedbf0a8b63a10442c2fbf6286b9fa65b68d26;p=pandora-kernel.git powerpc+sparc64/mm: Remove hack in mmap randomize layout commit fa8cbaaf5a68f62db3f9a8444ecbb940b47984cb upstream. Since commit 8a0a9bd4db63bc45e301, this comment in mmap_rnd() does not hold true as the value returned by get_random_int() will in fact be different every single call. Remove the comment and simplify the code back to its original desired form. This reverts commit a5adc91a4b44b5d1 which is no longer necessary and also fixes the sparc code that copied this same adjustment. Signed-off-by: Dan McGee Acked-by: David S. Miller Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Ben Hutchings Cc: Moritz Mühlenhoff --- Reading git-diff-tree failed