Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175904
b: refs/heads/master
c: 64ef291
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo committed Oct 29, 2009
1 parent 4e4bd42 commit 1312abd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 3f04ba859597412afbfb31f2fcbe289f2461f9a1
refs/heads/master: 64ef291f46d795917f32a0f5975e2b76f6fe206a
4 changes: 2 additions & 2 deletions trunk/include/linux/percpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ static inline void *pcpu_lpage_remapped(void *kaddr)

#endif /* CONFIG_SMP */

#define alloc_percpu(type) (type *)__alloc_percpu(sizeof(type), \
__alignof__(type))
#define alloc_percpu(type) \
(typeof(type) *)__alloc_percpu(sizeof(type), __alignof__(type))

/*
* Optional methods for optimized non-lvalue per-cpu variable access.
Expand Down

0 comments on commit 1312abd

Please sign in to comment.