[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160120150109.GF23350@pd.tnic>
Date: Wed, 20 Jan 2016 16:01:09 +0100
From: Borislav Petkov <bp@...e.de>
To: "H. Peter Anvin" <hpa@...or.com>
Cc: Brian Gerst <brgerst@...il.com>,
the arch/x86 maintainers <x86@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...nel.org>,
Denys Vlasenko <dvlasenk@...hat.com>,
Andy Lutomirski <luto@...capital.net>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [PATCH] x86: static_cpu_has_safe: discard dynamic check after
init
On Tue, Jan 19, 2016 at 08:02:01PM -0800, H. Peter Anvin wrote:
> ... "i" (1 << (bit & 7)),
> "m" (((const char *)boot_cpu_data->x86_capability)[bit >> 3]) ...
Nice!
I was going to do:
"i" (1 << (bit & 31)),
"m" (((boot_cpu_data->x86_capability)[bit >> 5]))
:-)
--
Regards/Gruss,
Boris.
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
--
Powered by blists - more mailing lists