ea43546750
atomic_t: unify all arch definitions
...
The atomic_t type cannot currently be used in some header files because it
would create an include loop with asm/atomic.h. Move the type definition
to linux/types.h to break the loop.
Signed-off-by: Matthew Wilcox <willy@linux.intel.com >
Cc: Huang Ying <ying.huang@intel.com >
Cc: <linux-arch@vger.kernel.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2009-01-06 15:59:10 -08:00
1965aae3c9
x86: Fix ASM_X86__ header guards
...
Change header guards named "ASM_X86__*" to "_ASM_X86_*" since:
a. the double underscore is ugly and pointless.
b. no leading underscore violates namespace constraints.
Signed-off-by: H. Peter Anvin <hpa@zytor.com >
2008-10-22 22:55:23 -07:00
bb8985586b
x86, um: ... and asm-x86 move
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
Signed-off-by: H. Peter Anvin <hpa@zytor.com >
2008-10-22 22:55:20 -07:00