projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sched, time: Fix build error with 64 bit cputime_t on 32 bit systems
[linux-2.6-block.git]
/
arch
/
powerpc
/
include
/
asm
/
cputime.h
diff --git
a/arch/powerpc/include/asm/cputime.h
b/arch/powerpc/include/asm/cputime.h
index 607559ab271ff98b45de1f11964416bebaf32841..6c840ceab8201cc191f4699d15561c62b2e0c9c2 100644
(file)
--- a/
arch/powerpc/include/asm/cputime.h
+++ b/
arch/powerpc/include/asm/cputime.h
@@
-32,6
+32,8
@@
static inline void setup_cputime_one_jiffy(void) { }
typedef u64 __nocast cputime_t;
typedef u64 __nocast cputime64_t;
+#define cmpxchg_cputime(ptr, old, new) cmpxchg(ptr, old, new)
+
#ifdef __KERNEL__
/*