[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.11.1512081617250.3595@nanos>
Date: Tue, 8 Dec 2015 16:18:18 +0100 (CET)
From: Thomas Gleixner <tglx@...utronix.de>
To: Dave Hansen <dave@...1.net>
cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org, x86@...nel.org,
dave.hansen@...ux.intel.com
Subject: Re: [PATCH 14/34] x86, pkeys: add functions to fetch PKRU
On Thu, 3 Dec 2015, Dave Hansen wrote:
> +#ifdef CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS
> +static inline u32 __read_pkru(void)
> +{
> + unsigned int ecx = 0;
> + unsigned int edx, pkru;
u32 please.
Other than that: Reviewed-by: Thomas Gleixner <tglx@...utronix.de>
> +
> + /*
> + * "rdpkru" instruction. Places PKRU contents in to EAX,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists