Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25625
b: refs/heads/master
c: cde227a
h: refs/heads/master
i:
  25623: 1317b20
v: v3
  • Loading branch information
mao, bibo authored and Linus Torvalds committed Apr 11, 2006
1 parent 7ae53dd commit 6667e38
Show file tree
Hide file tree
Showing 3 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: 44b940c299dfaaf25b7aad683ff55cb213502ddd
refs/heads/master: cde227afe6b997dce08bcfc2aa6e373fb56857b0
2 changes: 1 addition & 1 deletion trunk/include/asm-x86_64/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ static inline __u16 __readw(const volatile void __iomem *addr)
{
return *(__force volatile __u16 *)addr;
}
static inline __u32 __readl(const volatile void __iomem *addr)
static __always_inline __u32 __readl(const volatile void __iomem *addr)
{
return *(__force volatile __u32 *)addr;
}
Expand Down
4 changes: 2 additions & 2 deletions trunk/include/linux/seqlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ static inline int write_tryseqlock(seqlock_t *sl)
}

/* Start of read calculation -- fetch last complete writer token */
static inline unsigned read_seqbegin(const seqlock_t *sl)
static __always_inline unsigned read_seqbegin(const seqlock_t *sl)
{
unsigned ret = sl->sequence;
smp_rmb();
Expand All @@ -88,7 +88,7 @@ static inline unsigned read_seqbegin(const seqlock_t *sl)
*
* Using xor saves one conditional branch.
*/
static inline int read_seqretry(const seqlock_t *sl, unsigned iv)
static __always_inline int read_seqretry(const seqlock_t *sl, unsigned iv)
{
smp_rmb();
return (iv & 1) | (sl->sequence ^ iv);
Expand Down

0 comments on commit 6667e38

Please sign in to comment.