2 * atomic64_t for 386/486
4 * Copyright © 2010 Luca Barbieri
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
12 #include <linux/linkage.h>
13 #include <asm/alternative-asm.h>
15 /* if you want SMP support, implement these with real spinlocks */
27 ENDPROC(atomic64_##op##_386); \
30 ENTRY(atomic64_##op##_386); \
181 BEGIN(dec_if_positive)