~ubuntu-branches/ubuntu/precise/linux-lowlatency/precise

« back to all changes in this revision

Viewing changes to arch/s390/include/asm/mutex.h

  • Committer: Package Import Robot
  • Author(s): Alessio Igor Bogani
  • Date: 2011-10-26 11:13:05 UTC
  • Revision ID: package-import@ubuntu.com-20111026111305-tz023xykf0i6eosh
Tags: upstream-3.2.0
ImportĀ upstreamĀ versionĀ 3.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Pull in the generic implementation for the mutex fastpath.
 
3
 *
 
4
 * TODO: implement optimized primitives instead, or leave the generic
 
5
 * implementation in place, or pick the atomic_xchg() based generic
 
6
 * implementation. (see asm-generic/mutex-xchg.h for details)
 
7
 */
 
8
 
 
9
#include <asm-generic/mutex-dec.h>
 
10
 
 
11
#define arch_mutex_cpu_relax()  barrier()