diff options
Diffstat (limited to 'include/linux/mempolicy.h')
-rw-r--r-- | include/linux/mempolicy.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/mempolicy.h b/include/linux/mempolicy.h index 319fd342b1b7..507bf5e29f24 100644 --- a/include/linux/mempolicy.h +++ b/include/linux/mempolicy.h | |||
@@ -71,7 +71,7 @@ struct mm_struct; | |||
71 | * | 71 | * |
72 | * Freeing policy: | 72 | * Freeing policy: |
73 | * Mempolicy objects are reference counted. A mempolicy will be freed when | 73 | * Mempolicy objects are reference counted. A mempolicy will be freed when |
74 | * mpol_free() decrements the reference count to zero. | 74 | * mpol_put() decrements the reference count to zero. |
75 | * | 75 | * |
76 | * Copying policy objects: | 76 | * Copying policy objects: |
77 | * mpol_copy() allocates a new mempolicy and copies the specified mempolicy | 77 | * mpol_copy() allocates a new mempolicy and copies the specified mempolicy |
@@ -98,11 +98,11 @@ struct mempolicy { | |||
98 | * The default fast path of a NULL MPOL_DEFAULT policy is always inlined. | 98 | * The default fast path of a NULL MPOL_DEFAULT policy is always inlined. |
99 | */ | 99 | */ |
100 | 100 | ||
101 | extern void __mpol_free(struct mempolicy *pol); | 101 | extern void __mpol_put(struct mempolicy *pol); |
102 | static inline void mpol_free(struct mempolicy *pol) | 102 | static inline void mpol_put(struct mempolicy *pol) |
103 | { | 103 | { |
104 | if (pol) | 104 | if (pol) |
105 | __mpol_free(pol); | 105 | __mpol_put(pol); |
106 | } | 106 | } |
107 | 107 | ||
108 | extern struct mempolicy *__mpol_copy(struct mempolicy *pol); | 108 | extern struct mempolicy *__mpol_copy(struct mempolicy *pol); |
@@ -190,7 +190,7 @@ static inline int mpol_equal(struct mempolicy *a, struct mempolicy *b) | |||
190 | return 1; | 190 | return 1; |
191 | } | 191 | } |
192 | 192 | ||
193 | static inline void mpol_free(struct mempolicy *p) | 193 | static inline void mpol_put(struct mempolicy *p) |
194 | { | 194 | { |
195 | } | 195 | } |
196 | 196 | ||