commit | a95436e44a76a32dcbe7c8df59701ddde53017c1 | [log] [tgz] |
---|---|---|
author | Borislav Petkov <borislav.petkov@amd.com> | Sat Jun 20 23:28:22 2009 -0700 |
committer | H. Peter Anvin <hpa@zytor.com> | Sat Jun 20 23:28:22 2009 -0700 |
tree | cf6b8f52a66cd151b2c4bbb759f4958f6481f471 | |
parent | e487683990972bf9aa4e688434c46ead76748bca [diff] |
x86, mce: use atomic_inc_return() instead of add by 1 Use atomic_inc_return() instead of atomic_add_return() by 1. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com> Cc: Andi Kleen <ak@linux.intel.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>