Fix i386 build after r332970 by adding IS_BSP() definition.

Approved by:	kib
This commit is contained in:
Li-Wen Hsu 2018-04-25 07:51:41 +00:00
parent e2ec2f75f2
commit a02c9cc576

View File

@ -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"