Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 2961
b: refs/heads/master
c: 11c80c8
h: refs/heads/master
i:
  2959: 89c8d00
v: v3
  • Loading branch information
Jan Beulich authored and Linus Torvalds committed Jun 23, 2005
1 parent 16f8e83 commit 7083b8f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c7ea4b31fd962b4baadb42c0b8d7c6851c584102
refs/heads/master: 11c80c8367db0a9d342529ed74464670cd86a1f6
2 changes: 1 addition & 1 deletion trunk/include/asm-generic/percpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ do { \
#define DEFINE_PER_CPU(type, name) \
__typeof__(type) per_cpu__##name

#define per_cpu(var, cpu) (*((void)cpu, &per_cpu__##var))
#define per_cpu(var, cpu) (*((void)(cpu), &per_cpu__##var))
#define __get_cpu_var(var) per_cpu__##var

#endif /* SMP */
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/asm-ia64/percpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ extern void *per_cpu_init(void);

#else /* ! SMP */

#define per_cpu(var, cpu) (*((void)cpu, &per_cpu__##var))
#define per_cpu(var, cpu) (*((void)(cpu), &per_cpu__##var))
#define __get_cpu_var(var) per_cpu__##var
#define per_cpu_init() (__phys_per_cpu_start)

Expand Down
2 changes: 1 addition & 1 deletion trunk/include/asm-x86_64/percpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ extern void setup_per_cpu_areas(void);
#define DEFINE_PER_CPU(type, name) \
__typeof__(type) per_cpu__##name

#define per_cpu(var, cpu) (*((void)cpu, &per_cpu__##var))
#define per_cpu(var, cpu) (*((void)(cpu), &per_cpu__##var))
#define __get_cpu_var(var) per_cpu__##var

#endif /* SMP */
Expand Down

0 comments on commit 7083b8f

Please sign in to comment.