Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2018 16:23:45 +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: r340480 - head/sys/compat/linuxkpi/common/include/linux
Message-ID:  <201811161623.wAGGNjIQ092386@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Fri Nov 16 16:23:45 2018
New Revision: 340480
URL: https://svnweb.freebsd.org/changeset/base/340480

Log:
  Define asm macro in the LinuxKPI.
  
  Submitted by:		Johannes Lundberg <johalun0@gmail.com>
  MFC after:		1 week
  Sponsored by:		Mellanox Technologies

Modified:
  head/sys/compat/linuxkpi/common/include/linux/kernel.h

Modified: head/sys/compat/linuxkpi/common/include/linux/kernel.h
==============================================================================
--- head/sys/compat/linuxkpi/common/include/linux/kernel.h	Fri Nov 16 16:19:16 2018	(r340479)
+++ head/sys/compat/linuxkpi/common/include/linux/kernel.h	Fri Nov 16 16:23:45 2018	(r340480)
@@ -138,6 +138,8 @@
 #define	printk(...)		printf(__VA_ARGS__)
 #define	vprintk(f, a)		vprintf(f, a)
 
+#define	asm			__asm
+
 extern void linux_dump_stack(void);
 #define	dump_stack()		linux_dump_stack()
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811161623.wAGGNjIQ092386>