diff options
author | Victor Fusco <victor@cetuc.puc-rio.br> | 2005-09-10 03:26:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-10 13:06:28 -0400 |
commit | 9de75d110c9681d4aaa7fe87b8db99d5562012a2 (patch) | |
tree | 33c4c1fcfc8ed6b38c062f0aaf31c8f84d8eb946 | |
parent | e776eba0feaea9a3eba7aff73f50701b9804b57f (diff) |
[PATCH] mm/swap_state: Fix "nocast type" warnings
Fix the sparse warning "implicit cast to nocast type"
Signed-off-by: Victor Fusco <victor@cetuc.puc-rio.br>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | mm/swap_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/swap_state.c b/mm/swap_state.c index 029e56eb5e77..adbc2b426c2f 100644 --- a/mm/swap_state.c +++ b/mm/swap_state.c | |||
@@ -67,8 +67,8 @@ void show_swap_cache_info(void) | |||
67 | * __add_to_swap_cache resembles add_to_page_cache on swapper_space, | 67 | * __add_to_swap_cache resembles add_to_page_cache on swapper_space, |
68 | * but sets SwapCache flag and private instead of mapping and index. | 68 | * but sets SwapCache flag and private instead of mapping and index. |
69 | */ | 69 | */ |
70 | static int __add_to_swap_cache(struct page *page, | 70 | static int __add_to_swap_cache(struct page *page, swp_entry_t entry, |
71 | swp_entry_t entry, int gfp_mask) | 71 | unsigned int __nocast gfp_mask) |
72 | { | 72 | { |
73 | int error; | 73 | int error; |
74 | 74 | ||