this_cpu: Use this_cpu_ptr in crypto subsystem
authorChristoph Lameter <cl@linux-foundation.org>
Sat, 3 Oct 2009 10:48:23 +0000 (19:48 +0900)
committerTejun Heo <tj@kernel.org>
Sat, 3 Oct 2009 10:48:23 +0000 (19:48 +0900)
commit0b44f4861f4cc1089424821f078d38441f8b4983
treec8251513c5ff71daa6a4b040c11a0aeb91b18974
parent7a9e02d6bb05b268dc403d7ee87ce4198062f838
this_cpu: Use this_cpu_ptr in crypto subsystem

Just a slight optimization that removes one array lookup.
The processor number is needed for other things as well so the
get/put_cpu cannot be removed.

Acked-by: Tejun Heo <tj@kernel.org>
Cc: Huang Ying <ying.huang@intel.com>
Signed-off-by: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
crypto/cryptd.c