diff options
author | Andi Kleen <ak@linux.intel.com> | 2010-09-27 23:36:05 +0200 |
---|---|---|
committer | Andi Kleen <ak@linux.intel.com> | 2010-10-08 09:33:01 +0200 |
commit | 9033ae16407f46ae06f559f9374281f6e9d89efc (patch) | |
tree | 3d672e5797dd2fb8f5dc49adbc7b07bcae7f7c79 /mm/memory-failure.c | |
parent | 898e70d1e526d7814bd2f64c907706b83ffca9af (diff) | |
download | linux-rpi3-9033ae16407f46ae06f559f9374281f6e9d89efc.tar.gz linux-rpi3-9033ae16407f46ae06f559f9374281f6e9d89efc.tar.bz2 linux-rpi3-9033ae16407f46ae06f559f9374281f6e9d89efc.zip |
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 <ak@linux.intel.com>
Diffstat (limited to 'mm/memory-failure.c')
-rw-r--r-- | mm/memory-failure.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; }; /* |