]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm-change-isolate-mode-from-define-to-bitwise-type-fix
authorMinchan Kim <minchan.kim@gmail.com>
Wed, 5 Oct 2011 00:42:45 +0000 (11:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 11 Oct 2011 08:43:39 +0000 (19:43 +1100)
[c1e8b0ae8, mm-change-isolate-mode-from-define-to-bitwise-type]
made a mistake on the bitwise type.

This patch corrects it.

Cc: Mel Gorman <mgorman@suse.de>
Cc: Johannes Weiner <jweiner@redhat.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Minchan Kim <minchan.kim@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mmzone.h

index 4bf3b1eed05aa8dfee8dd07fe7cf359164223aa7..436ce6e7a446b938355b5750f7a91261ce4eaf35 100644 (file)
@@ -165,9 +165,9 @@ static inline int is_unevictable_lru(enum lru_list l)
 #define LRU_ALL             ((1 << NR_LRU_LISTS) - 1)
 
 /* Isolate inactive pages */
-#define ISOLATE_INACTIVE       ((__force fmode_t)0x1)
+#define ISOLATE_INACTIVE       ((__force isolate_mode_t)0x1)
 /* Isolate active pages */
-#define ISOLATE_ACTIVE         ((__force fmode_t)0x2)
+#define ISOLATE_ACTIVE         ((__force isolate_mode_t)0x2)
 
 /* LRU Isolation modes. */
 typedef unsigned __bitwise__ isolate_mode_t;