Date: Wed, 6 Jun 2018 13:29:52 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r334710 - head/sys/compat/linuxkpi/common/include/asm Message-ID: <201806061329.w56DTq0A004729@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Wed Jun 6 13:29:52 2018 New Revision: 334710 URL: https://svnweb.freebsd.org/changeset/base/334710 Log: Implement the rdmsrl_safe() function macro in the LinuxKPI. Submitted by: Johannes Lundberg <johalun0@gmail.com> MFC after: 1 week Sponsored by: Mellanox Technologies Sponsored by: Limelight Networks Modified: head/sys/compat/linuxkpi/common/include/asm/msr.h Modified: head/sys/compat/linuxkpi/common/include/asm/msr.h ============================================================================== --- head/sys/compat/linuxkpi/common/include/asm/msr.h Wed Jun 6 13:01:53 2018 (r334709) +++ head/sys/compat/linuxkpi/common/include/asm/msr.h Wed Jun 6 13:29:52 2018 (r334710) @@ -32,5 +32,6 @@ #include <machine/cpufunc.h> #define rdmsrl(msr, val) ((val) = rdmsr(msr)) +#define rdmsrl_safe(msr, val) rdmsr_safe(msr, val) #endif /* _ASM_MSR_H_ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806061329.w56DTq0A004729>