Commit 3aadfddf authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Linus Torvalds

[PATCH] parisc: make atomic_t 32-bit

Make atomic_t an int instead of a long to match the other architectures
Committed-by: default avatarMatthew Wilcox <willy@parisc-linux.org>
parent 31f9a885
...@@ -52,7 +52,7 @@ extern spinlock_t __atomic_hash[ATOMIC_HASH_SIZE] __lock_aligned; ...@@ -52,7 +52,7 @@ extern spinlock_t __atomic_hash[ATOMIC_HASH_SIZE] __lock_aligned;
* Cache-line alignment would conflict with, for example, linux/module.h * Cache-line alignment would conflict with, for example, linux/module.h
*/ */
typedef struct { volatile long counter; } atomic_t; typedef struct { volatile int counter; } atomic_t;
/* This should get optimized out since it's never called. /* This should get optimized out since it's never called.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment