diff options
author | Hon Ching \(Vicky\) Lo <honclo@linux.vnet.ibm.com> | 2015-10-07 20:11:51 -0400 |
---|---|---|
committer | Peter Huewe <peterhuewe@gmx.de> | 2015-10-19 01:00:49 +0200 |
commit | 60ecd86c4d985750efa0ea3d8610972b09951715 (patch) | |
tree | e77cc93d980046a77258d13944ac191d38dec6eb /include/linux/async_tx.h | |
parent | eb6301160dde0227ac27c6ec2a0b57054d88e398 (diff) | |
download | linux-60ecd86c4d985750efa0ea3d8610972b09951715.tar.gz linux-60ecd86c4d985750efa0ea3d8610972b09951715.tar.bz2 linux-60ecd86c4d985750efa0ea3d8610972b09951715.zip |
vTPM: fix memory allocation flag for rtce buffer at kernel boot
At ibm vtpm initialzation, tpm_ibmvtpm_probe() registers its interrupt
handler, ibmvtpm_interrupt, which calls ibmvtpm_crq_process to allocate
memory for rtce buffer. The current code uses 'GFP_KERNEL' as the
type of kernel memory allocation, which resulted a warning at
kernel/lockdep.c. This patch uses 'GFP_ATOMIC' instead so that the
allocation is high-priority and does not sleep.
Cc: stable@kernel.org
Signed-off-by: Hon Ching(Vicky) Lo <honclo@linux.vnet.ibm.com>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Diffstat (limited to 'include/linux/async_tx.h')
0 files changed, 0 insertions, 0 deletions