]> git.baikalelectronics.ru Git - kernel.git/commit
x86: move PAGE_OFFSET, TASK_SIZE & friends to page_{32,64}_types.h
authorChristoph Hellwig <hch@lst.de>
Thu, 3 Sep 2020 14:22:38 +0000 (16:22 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 9 Sep 2020 02:21:34 +0000 (22:21 -0400)
commite28639c126a809f2b693784dff2afaa7a16548e1
treecbb1bdea654262bd8e7cf181d195f88146152609
parentb8ce7a6084d8b9a01e010044475f1f3c23161cbf
x86: move PAGE_OFFSET, TASK_SIZE & friends to page_{32,64}_types.h

At least for 64-bit this moves them closer to some of the defines
they are based on, and it prepares for using the TASK_SIZE_MAX
definition from assembly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/x86/include/asm/page_32_types.h
arch/x86/include/asm/page_64_types.h
arch/x86/include/asm/processor.h