diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2012-10-19 16:54:24 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2012-10-19 16:55:09 +0200 |
commit | 4533d86270d7986e00594495dde9a109d6be27ae (patch) | |
tree | c2473cac653f7b98e5bd5e6475e63734be4b7644 /arch/x86/crypto/glue_helper.c | |
parent | x86, amd, mce: Avoid NULL pointer reference on CPU northbridge lookup (diff) | |
parent | x86, MCE: Remove bios_cmci_threshold sysfs attribute (diff) | |
download | linux-4533d86270d7986e00594495dde9a109d6be27ae.tar.xz linux-4533d86270d7986e00594495dde9a109d6be27ae.zip |
Merge commit '5bc66170dc486556a1e36fd384463536573f4b82' into x86/urgent
From Borislav Petkov <bp@amd64.org>:
Below is a RAS fix which reverts the addition of a sysfs attribute
which we agreed is not needed, post-factum. And this should go in now
because that sysfs attribute is going to end up in 3.7 otherwise and
thus exposed to userspace; removing it then would be a lot harder.
This is done as a merge rather than a simple patch/cherry-pick since
the baseline for this patch was not in the previous x86/urgent.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/crypto/glue_helper.c')
-rw-r--r-- | arch/x86/crypto/glue_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/crypto/glue_helper.c b/arch/x86/crypto/glue_helper.c index 4854f0f31e4f..30b3927bd733 100644 --- a/arch/x86/crypto/glue_helper.c +++ b/arch/x86/crypto/glue_helper.c @@ -110,7 +110,7 @@ static unsigned int __glue_cbc_encrypt_128bit(const common_glue_func_t fn, nbytes -= bsize; } while (nbytes >= bsize); - u128_xor((u128 *)walk->iv, (u128 *)walk->iv, iv); + *(u128 *)walk->iv = *iv; return nbytes; } |