summaryrefslogtreecommitdiff
path: root/crypto/sha256_generic.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2016-01-15 16:50:25 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-01-19 14:14:01 +0300
commitef1f7fd7eba19eb64fc424355eb9d4e49ca06fb1 (patch)
treeb002f11020df052fc9ad38491739f54695dfa881 /crypto/sha256_generic.c
parent204ee2c5643199a25181ec04ea645d00709c2a5a (diff)
downloadlinux-ef1f7fd7eba19eb64fc424355eb9d4e49ca06fb1.tar.xz
s390/numa: allocate memory with correct alignment
Allocating memory with a requested minimum alignment of 1 is wrong since pg_data_t contains a spinlock which requires an alignment of 4 bytes. Therefore fix this and ask for an alignment of 8 bytes like it is guarenteed for all kmalloc requests. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Acked-by: Michael Holzheu <holzheu@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'crypto/sha256_generic.c')
0 files changed, 0 insertions, 0 deletions