Home
last modified time | relevance | path

Searched hist:"02 e983b760c0d4183c28d625a3c99016e2cd8a7f" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/x86/mm/
H A Dfault.cdiff 02e983b760c0d4183c28d625a3c99016e2cd8a7f Fri Sep 28 11:02:28 CDT 2018 Dave Hansen <dave.hansen@linux.intel.com> x86/mm: Add vsyscall address helper

We will shortly be using this check in two locations. Put it in
a helper before we do so.

Let's also insert PAGE_MASK instead of the open-coded ~0xfff.
It is easier to read and also more obviously correct considering
the implicit type conversion that has to happen when it is not
an implicit 'unsigned long'.

Cc: x86@kernel.org
Cc: Jann Horn <jannh@google.com>
Cc: Sean Christopherson <sean.j.christopherson@intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20180928160228.C593509B@viggo.jf.intel.com