Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179684
b: refs/heads/master
c: 7af92f8
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Hemminger authored and Jens Axboe committed Jan 11, 2010
1 parent b48386a commit 465a3b3
Show file tree
Hide file tree
Showing 2 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: ce289321b7dc1eb108e3df0dec872b7429ef49f7
refs/heads/master: 7af92f8754b87bc78cbfd447d5f4096b25c46682
6 changes: 3 additions & 3 deletions trunk/include/linux/genhd.h
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,9 @@ extern struct hd_struct *disk_map_sector_rcu(struct gendisk *disk,
#define part_stat_read(part, field) \
({ \
typeof((part)->dkstats->field) res = 0; \
int i; \
for_each_possible_cpu(i) \
res += per_cpu_ptr((part)->dkstats, i)->field; \
unsigned int _cpu; \
for_each_possible_cpu(_cpu) \
res += per_cpu_ptr((part)->dkstats, _cpu)->field; \
res; \
})

Expand Down

0 comments on commit 465a3b3

Please sign in to comment.