From: Andi Kleen Date: Mon, 27 Sep 2010 21:36:05 +0000 (+0200) Subject: HWPOISON: Turn addr_valid from bitfield into char X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9033ae16407f46ae06f559f9374281f6e9d89efc;p=linux-beck.git HWPOISON: Turn addr_valid from bitfield into char The addr_valid flag is the only flag in "to_kill" and it's slightly more efficient to have it as char instead of a bitfield. Signed-off-by: Andi Kleen --- diff --git a/mm/memory-failure.c b/mm/memory-failure.c index 77b3e79528f0..88653c93e4ce 100644 --- a/mm/memory-failure.c +++ b/mm/memory-failure.c @@ -272,7 +272,7 @@ struct to_kill { struct list_head nd; struct task_struct *tsk; unsigned long addr; - unsigned addr_valid:1; + char addr_valid; }; /*