kaiser: fix build and FIXME in alloc_ldt_struct()
authorHugh Dickins <hughd@google.com>
Mon, 4 Sep 2017 00:09:44 +0000 (17:09 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Jan 2018 14:46:32 +0000 (15:46 +0100)
commit7a92e20d157f02d0259e2799dea43c9fa1a4541a
tree356863ad0c2b863ff200b8825ecf6c521cd906ca
parent0994a2cf8fe4e884bad4810681117a7d0096c8e7
kaiser: fix build and FIXME in alloc_ldt_struct()

Include linux/kaiser.h instead of asm/kaiser.h to build ldt.c without
CONFIG_KAISER.  kaiser_add_mapping() does already return an error code,
so fix the FIXME.

Signed-off-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kernel/ldt.c