]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/msr: Move the EAX_EDX_*() methods from <asm/msr.h> to <asm/asm.h>
authorIngo Molnar <mingo@kernel.org>
Fri, 2 May 2025 08:13:53 +0000 (10:13 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 2 May 2025 08:18:19 +0000 (10:18 +0200)
commitbdfda83a6b5988f1ac62cd0eaceb6c3b44dc2a31
tree389151e882a7c909ef8927e78b88ce90ffa0bb04
parentc9d8ea9d53d4ddb80f2ad2bca5b9e9e40fcb9b16
x86/msr: Move the EAX_EDX_*() methods from <asm/msr.h> to <asm/asm.h>

We are going to use them from multiple headers, and in any case,
such register access wrapper macros are better in <asm/asm.h>
anyway.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Kees Cook <keescook@chromium.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Uros Bizjak <ubizjak@gmail.com>
Cc: linux-kernel@vger.kernel.org
arch/x86/include/asm/asm.h
arch/x86/include/asm/msr.h