lkml.org 
[lkml]   [2015]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@linutronix.de>

> +
> + /*
> + * "rdpkru" instruction. Places PKRU contents in to EAX,


\
 
 \ /
  Last update: 2015-12-08 16:41    [W:0.306 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site