diff options
author | Joakim Bech <joakim.xx.bech@stericsson.com> | 2011-05-23 16:23:56 +0200 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@linaro.org> | 2012-03-19 09:00:38 +0100 |
commit | 81e02604f6e5218e88ae45ab6c4432470abe8f28 (patch) | |
tree | 2fc2895837b9d05867683f8b9ee02417a13056c0 /drivers/s390 | |
parent | 416ac025ae23e9ae178f419e7406b9bec9d9da44 (diff) |
cryp: CPU mode register read/write optimizations
- Minimize the number of read/write to the cryp hardware.
- Write direct to hardware instead of going through functions that
aren't inlined to get rid of function prologues/epilogues.
- Remove NULL checks where performance is needed and the check itself
is unnecessary since it is catched earlier in the callstack.
- Remove unused defines/includes that are not used any longer due to
above optimizations.
ST-Ericsson ID: 341921
ST-Ericsson Linux next: Not tested, ER 320876
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I9efff1714f851672f8cb04e0c946a753a4b3f4b8
Signed-off-by: Joakim Bech <joakim.xx.bech@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23719
Reviewed-by: Berne HEBARK <berne.hebark@stericsson.com>
Reviewed-by: QATEST
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions