Author: br Date: Wed Jun 1 14:03:13 2016 New Revision: 301123 URL: https://svnweb.freebsd.org/changeset/base/301123
Log: Add a riscv define. Submitted by: Yukishige Shibata <y-shi...@mtd.biglobe.ne.jp> Modified: head/sys/dev/sym/sym_hipd.c Modified: head/sys/dev/sym/sym_hipd.c ============================================================================== --- head/sys/dev/sym/sym_hipd.c Wed Jun 1 14:03:07 2016 (r301122) +++ head/sys/dev/sym/sym_hipd.c Wed Jun 1 14:03:13 2016 (r301123) @@ -138,6 +138,8 @@ typedef u_int32_t u32; #define MEMORY_BARRIER() dmb() #elif defined __aarch64__ #define MEMORY_BARRIER() dmb(sy) +#elif defined __riscv__ +#define MEMORY_BARRIER() fence() #else #error "Not supported platform" #endif _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"