~ubuntu-branches/ubuntu/quantal/jackd2/quantal

« back to all changes in this revision

Viewing changes to macosx/JackAtomic_os.h

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler, Adrian Knoth, Reinhard Tartler, Jonas Smedegaard
  • Date: 2010-06-19 18:54:29 UTC
  • Revision ID: james.westby@ubuntu.com-20100619185429-zhbhh0mqvukgzx0l
Tags: 1.9.5~dfsg-15
[ Adrian Knoth ]
* Also provide the shlibs file for libjack-jackd2-0
* Fix FTBFS on sparc64 (Closes: #586257)

[ Reinhard Tartler ]
* jackd must not be a virtual package, use 'jack-daemon' for that
* add breaks/replaces on old libjack0
* change shlibsfile to prefer jackd2's libjack
* use conflicts instead of breaks. libjack-jackd2-0 has file conflicts
  with libjack0 and will keep it

[ Jonas Smedegaard ]
* Update control file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
        "1:                     \n"
42
42
        "   li      %0, 0       \n"
43
43
        "2:                     \n"
44
 
    : "=r" (result)
45
 
                : "r" (addr), "r" (value), "r" (newvalue)
46
 
                : "r0"
47
 
            );
 
44
        : "=r" (result)
 
45
        : "r" (addr), "r" (value), "r" (newvalue)
 
46
        : "r0"
 
47
        );
48
48
    return result;
49
49
}
50
50
 
61
61
        "# CAS \n\t"
62
62
        LOCK "cmpxchg %2, (%1) \n\t"
63
63
        "sete %0               \n\t"
64
 
    : "=a" (ret)
65
 
                : "c" (addr), "d" (newvalue), "a" (value)
66
 
            );
 
64
        : "=a" (ret)
 
65
        : "c" (addr), "d" (newvalue), "a" (value)
 
66
        );
67
67
    return ret;
68
68
}
69
69