aboutsummaryrefslogtreecommitdiff
path: root/arch/m68knommu/include/asm/atomic.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68knommu/include/asm/atomic.h')
-rw-r--r--arch/m68knommu/include/asm/atomic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68knommu/include/asm/atomic.h b/arch/m68knommu/include/asm/atomic.h
index d5632a305da..6bb674855a3 100644
--- a/arch/m68knommu/include/asm/atomic.h
+++ b/arch/m68knommu/include/asm/atomic.h
@@ -1,6 +1,7 @@
#ifndef __ARCH_M68KNOMMU_ATOMIC__
#define __ARCH_M68KNOMMU_ATOMIC__
+#include <linux/types.h>
#include <asm/system.h>
/*
@@ -12,7 +13,6 @@
* We do not have SMP m68k systems, so we don't have to deal with that.
*/
-typedef struct { int counter; } atomic_t;
#define ATOMIC_INIT(i) { (i) }
#define atomic_read(v) ((v)->counter)