usercopy: Move enum for arch_within_stack_frames()
authorSahara <keun-o.park@darkmatter.ae>
Thu, 16 Feb 2017 18:29:15 +0000 (18:29 +0000)
committerKees Cook <keescook@chromium.org>
Tue, 4 Apr 2017 21:30:29 +0000 (14:30 -0700)
commit96dc4f9fb64690fc34410415fd1fc609cf803f61
tree31971ed38668c7492910a70da3b6e1faf5f0509f
parent4495c08e84729385774601b5146d51d9e5849f81
usercopy: Move enum for arch_within_stack_frames()

This patch moves the arch_within_stack_frames() return value enum up in
the header files so that per-architecture implementations can reuse the
same return values.

Signed-off-by: Sahara <keun-o.park@darkmatter.ae>
Signed-off-by: James Morse <james.morse@arm.com>
[kees: adjusted naming and commit log]
Signed-off-by: Kees Cook <keescook@chromium.org>
arch/x86/include/asm/thread_info.h
include/linux/thread_info.h
mm/usercopy.c