On 2010-11-14 22:13, m...@freebsd.org wrote:
If "static DPCPU_DEFINE" and "STATIC_DPCPU_DEFINE" are the same thing, it seems backwards to prefer the macro over the C code. Is there a difference?
After a follow-up commit, r215318, they are different. This is because the macro then inserts __asm__(".globl") statements just before the actual definition of the variable, which was not possible before. E.g.: static __asm__(".globl foo") int bar; would not compile. _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"