kernel - Add memory barriers to more __asm functions.
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 28 Jan 2021 01:20:03 +0000 (17:20 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 28 Jan 2021 01:20:03 +0000 (17:20 -0800)
commit9ba9002ba9990c491fa3efd8fdcf70b59e261ef2
treeb53c00092b858b6695b56754d526f3a009b5274e
parentb406b8c284a599e6d288c6306f1a4180c2587138
kernel - Add memory barriers to more __asm functions.

   * Add memory barriers to more __asm functions that have memory
     side-effects.  This should help prevent any unexpected instruction
     reordering around these functions.

Submitted-by: chicken
Bug-ID: #3263
sys/cpu/x86_64/include/cpufunc.h