aboutsummaryrefslogtreecommitdiff
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2015-11-25 14:05:32 -0700
committerJarkko Sakkinen <[email protected]>2015-12-20 15:23:46 +0200
commit25112048cd59930e23775cafb88e18cfb484892c (patch)
tree12847b70d58372af1d44c69cc83d9821cd773e91 /mm/hugetlb.c
parent036bb38ffb3e4c92361108f324364b0341cd9e31 (diff)
tpm: rework tpm_get_timeouts()
IRQ probing needs to know that the TPM is working before trying to probe, so move tpm_get_timeouts() to the top of the tpm_tis_init(). This has the advantage of also getting the correct timeouts loaded before doing IRQ probing. All the timeout handling code is moved to tpm_get_timeouts() in order to remove duplicate code in tpm_tis and tpm_crb. [[email protected]: squashed two patches together and improved the commit message.] Signed-off-by: Jason Gunthorpe <[email protected]> Reviewed-by: Jarkko Sakkinen <[email protected]> Tested-by: Jarkko Sakkinen <[email protected]> Tested-by: Martin Wilck <[email protected]> Tested-by: Scot Doyle <[email protected]> Signed-off-by: Jarkko Sakkinen <[email protected]> Acked-by: Peter Huewe <[email protected]>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions