From: Minchan Kim Date: Wed, 5 Oct 2011 00:42:45 +0000 (+1100) Subject: mm-change-isolate-mode-from-define-to-bitwise-type-fix X-Git-Tag: next-20111011~1^2~221 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=920a1e515fb42c74d9e2b88a6b3b9ea7dd1c55f2;p=karo-tx-linux.git mm-change-isolate-mode-from-define-to-bitwise-type-fix [c1e8b0ae8, mm-change-isolate-mode-from-define-to-bitwise-type] made a mistake on the bitwise type. This patch corrects it. Cc: Mel Gorman Cc: Johannes Weiner Reviewed-by: Rik van Riel Signed-off-by: Minchan Kim Signed-off-by: Andrew Morton --- diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index 4bf3b1eed05a..436ce6e7a446 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -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;