~ubuntu-branches/ubuntu/quantal/open-vm-tools/quantal-201207201942

« back to all changes in this revision

Viewing changes to lib/include/vm_atomic.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2008-10-23 15:32:00 UTC
  • mfrom: (1.1.2 upstream) (2.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20081023153200-gc1bfx89hj35c799
Tags: 2008.10.10-123053-2
* Correcting typo in dh_installinit call.
* Downgrading depends on module-assistant to recommends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
// The freebsd assembler doesn't know the lfence instruction
153
153
#if defined(__GNUC__) &&                                                \
154
154
     __GNUC__ >= 3 &&                                                   \
155
 
    !defined(BSD_VERSION) &&                                            \
 
155
    (defined(__VMKERNEL__) || !defined(__FreeBSD__)) &&                 \
156
156
    (!defined(MODULE) || defined(__VMKERNEL_MODULE__)) &&               \
157
157
    !defined(__APPLE__) /* PR136775 */
158
158
#define ATOMIC_USE_FENCE