Revision 496063426dece3f47e21f9f3387205d6ca03bd2a authored by Dave Jones on 14 October 2016, 18:26:24 UTC, committed by Linus Torvalds on 14 October 2016, 18:36:59 UTC
This easy-to-trigger warning shows up instantly when running
Trinity on a kernel with CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS disabled.

At most this should have been a printk, but the -EINVAL alone should be more
than adequate indicator that something isn't available.

Signed-off-by: Dave Jones <davej@codemonkey.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent e9f8f48
Raw File
kmap_types.h
#ifndef _ASM_GENERIC_KMAP_TYPES_H
#define _ASM_GENERIC_KMAP_TYPES_H

#ifdef __WITH_KM_FENCE
# define KM_TYPE_NR 41
#else
# define KM_TYPE_NR 20
#endif

#endif
back to top