Arun Sharma
60063497a9
atomic: use <linux/atomic.h>
...
This allows us to move duplicated code in <asm/atomic.h>
(atomic_inc_not_zero() for now) to <linux/atomic.h>
Signed-off-by: Arun Sharma <[email protected] >
Reviewed-by: Eric Dumazet <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: David Miller <[email protected] >
Cc: Eric Dumazet <[email protected] >
Acked-by: Mike Frysinger <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2011-07-26 16:49:47 -07:00
Kyle McMartin
70da2d9630
parisc: fix braino in commit adding __space_to_prot
...
Shouldn't commit without building before morning coffee...
Signed-off-by: Kyle McMartin <[email protected] >
2009-01-05 18:15:25 +00:00
Kyle McMartin
a60715f589
parisc: factor out sid to protid conversion
...
Create a new __space_to_prot inline to convert the space id (mmu context)
to a protection id. Sadly it doesn't look like the #ifdef can be eliminated
since relying on the compiler to not truncate a bit on
return (ctx >> SPACEID_SHIFT) << 1;
seems a little dodgy.
Signed-off-by: Kyle McMartin <[email protected] >
2009-01-05 18:15:25 +00:00
Kyle McMartin
deae26bf6a
parisc: move include/asm-parisc to arch/parisc/include/asm
2008-10-10 16:32:29 +00:00