Author: lwhsu (ports committer)
Date: Wed Apr 25 07:51:41 2018
New Revision: 332989
URL: https://svnweb.freebsd.org/changeset/base/332989

Log:
  Fix i386 build after r332970 by adding IS_BSP() definition.
  
  Approved by:  kib

Modified:
  head/sys/i386/include/pcpu.h

Modified: head/sys/i386/include/pcpu.h
==============================================================================
--- head/sys/i386/include/pcpu.h        Wed Apr 25 06:50:19 2018        
(r332988)
+++ head/sys/i386/include/pcpu.h        Wed Apr 25 07:51:41 2018        
(r332989)
@@ -240,6 +240,8 @@ __curpcb(void)
 }
 #define        curpcb          (__curpcb())
 
+#define        IS_BSP()        (PCPU_GET(cpuid) == 0)
+
 #else /* defined(__GNUCLIKE_ASM) && defined(__GNUCLIKE___TYPEOF) */
 
 #error "this file needs to be ported to your compiler"
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to