From f9cedbf0a8b63a10442c2fbf6286b9fa65b68d26 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 17 Oct 2011 13:05:23 +0000 Subject: [PATCH] powerpc+sparc64/mm: Remove hack in mmap randomize layout MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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-format-patch failed