summaryrefslogtreecommitdiffstats
path: root/scripts/checksyscalls.sh
diff options
context:
space:
mode:
authorMark Salter <msalter@redhat.com>2012-09-25 02:17:38 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2012-09-25 17:59:21 +0200
commitbe8cfc4af15cf611dfeb66a1fb5df43d5f1e280a (patch)
treeb84efb3a6189633a5e3f1a210971f28a0d68dac4 /scripts/checksyscalls.sh
parentlib/flex_proportions.c: fix corruption of denominator in flexible proportions (diff)
downloadlinux-be8cfc4af15cf611dfeb66a1fb5df43d5f1e280a.tar.xz
linux-be8cfc4af15cf611dfeb66a1fb5df43d5f1e280a.zip
c/r: prctl: fix build error for no-MMU case
Commit 1ad75b9e1628 ("c/r: prctl: add minimal address test to PR_SET_MM") added some address checking to prctl_set_mm() used by checkpoint-restore. This causes a build error for no-MMU systems: kernel/sys.c: In function 'prctl_set_mm': kernel/sys.c:1868:34: error: 'mmap_min_addr' undeclared (first use in this function) The test for mmap_min_addr doesn't make a lot of sense for no-MMU code as noted in commit 6e1415467614 ("NOMMU: Optimise away the {dac_,}mmap_min_addr tests"). This patch defines mmap_min_addr as 0UL in the no-MMU case so that the compiler will optimize away tests for "addr < mmap_min_addr". Signed-off-by: Mark Salter <msalter@redhat.com> Reviewed-by: Cyrill Gorcunov <gorcunov@openvz.org> Cc: <stable@vger.kernel.org> [3.6.x] Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/checksyscalls.sh')
0 files changed, 0 insertions, 0 deletions