Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39234
b: refs/heads/master
c: 20241ad
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Oct 10, 2006
1 parent b994453 commit 9606be3
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: fa1f5ea860af34d74c1475eddde3364e71fac15d
refs/heads/master: 20241ad409fbc42d9e7f92f5fdb4783b7f1b36eb
6 changes: 3 additions & 3 deletions trunk/lib/radix-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,13 +160,13 @@ static inline int tag_get(struct radix_tree_node *node, unsigned int tag,

static inline void root_tag_set(struct radix_tree_root *root, unsigned int tag)
{
root->gfp_mask |= (1 << (tag + __GFP_BITS_SHIFT));
root->gfp_mask |= (__force gfp_t)(1 << (tag + __GFP_BITS_SHIFT));
}


static inline void root_tag_clear(struct radix_tree_root *root, unsigned int tag)
{
root->gfp_mask &= ~(1 << (tag + __GFP_BITS_SHIFT));
root->gfp_mask &= (__force gfp_t)~(1 << (tag + __GFP_BITS_SHIFT));
}

static inline void root_tag_clear_all(struct radix_tree_root *root)
Expand All @@ -176,7 +176,7 @@ static inline void root_tag_clear_all(struct radix_tree_root *root)

static inline int root_tag_get(struct radix_tree_root *root, unsigned int tag)
{
return root->gfp_mask & (1 << (tag + __GFP_BITS_SHIFT));
return (__force unsigned)root->gfp_mask & (1 << (tag + __GFP_BITS_SHIFT));
}

/*
Expand Down

0 comments on commit 9606be3

Please sign in to comment.