Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2018 06:42:51 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r335420 - stable/11/sys/compat/linuxkpi/common/include/asm
Message-ID:  <201806200642.w5K6gpOF025857@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Wed Jun 20 06:42:51 2018
New Revision: 335420
URL: https://svnweb.freebsd.org/changeset/base/335420

Log:
  MFC r334710:
  Implement the rdmsrl_safe() function macro in the LinuxKPI.
  
  Submitted by:	Johannes Lundberg <johalun0@gmail.com>
  Sponsored by:	Mellanox Technologies
  Sponsored by:	Limelight Networks

Modified:
  stable/11/sys/compat/linuxkpi/common/include/asm/msr.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/compat/linuxkpi/common/include/asm/msr.h
==============================================================================
--- stable/11/sys/compat/linuxkpi/common/include/asm/msr.h	Wed Jun 20 06:42:04 2018	(r335419)
+++ stable/11/sys/compat/linuxkpi/common/include/asm/msr.h	Wed Jun 20 06:42:51 2018	(r335420)
@@ -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?201806200642.w5K6gpOF025857>