Add atomic.h wrapper for before/after atomic
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 12 Oct 2014 14:56:25 +0000 (16:56 +0200)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 12 Oct 2014 14:56:25 +0000 (16:56 +0200)
commit505fb41059f97c7c4ee456bafabcb6528df8ebe2
tree7f51a98909bc8d6e96496847377888ab6e1e26ef
parenta5c47aa6bbdbe53efb15afb608173193cffcab3d
Add atomic.h wrapper for before/after atomic

Linux 3.16 changes the name of before/after atomic functions, and
generates a warning at build time about deprecation of old ones. Create
a wrapper header to handle this.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lib/ringbuffer/ring_buffer_frontend.c
wrapper/atomic.h [new file with mode: 0644]
This page took 0.02564 seconds and 4 git commands to generate.