Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39260
b: refs/heads/master
c: 3524de1
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Oct 10, 2006
1 parent a2acd2e commit 0173156
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: d136fe7243081a45a141bb297a7b7a627ab60fa9
refs/heads/master: 3524de1c7953e7a22c43b9214ffc3680af6f8edb
6 changes: 2 additions & 4 deletions trunk/fs/partitions/msdos.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,11 @@
#include <asm/unaligned.h>

#define SYS_IND(p) (get_unaligned(&p->sys_ind))
#define NR_SECTS(p) ({ __typeof__(p->nr_sects) __a = \
get_unaligned(&p->nr_sects); \
#define NR_SECTS(p) ({ __le32 __a = get_unaligned(&p->nr_sects); \
le32_to_cpu(__a); \
})

#define START_SECT(p) ({ __typeof__(p->start_sect) __a = \
get_unaligned(&p->start_sect); \
#define START_SECT(p) ({ __le32 __a = get_unaligned(&p->start_sect); \
le32_to_cpu(__a); \
})

Expand Down

0 comments on commit 0173156

Please sign in to comment.