diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2016-10-10 00:46:53 -0400 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-11-08 17:29:48 -0500 |
commit | d5d37a0ab13b8f4ccfa58a4e852e19bcbf47ed5e (patch) | |
tree | 7b00961b69ab88a4c4d84cf151b232927d190421 /drivers/rtc/rtc-cmos.c | |
parent | 61e1ce588b101f13a4c6f713b95d65551c8572e3 (diff) | |
download | blackbird-obmc-linux-d5d37a0ab13b8f4ccfa58a4e852e19bcbf47ed5e.tar.gz blackbird-obmc-linux-d5d37a0ab13b8f4ccfa58a4e852e19bcbf47ed5e.zip |
scsi: ncr5380: Pass hostdata pointer to register polling routines
Pass a NCR5380_hostdata struct pointer to the board-specific routines
instead of a Scsi_Host struct pointer. This reduces pointer chasing in
the PIO and PDMA fast paths. The old way was a mistake because it is
slow and the board-specific code is not concerned with the mid-layer.
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Tested-by: Ondrej Zary <linux@rainbow-software.org>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/rtc/rtc-cmos.c')
0 files changed, 0 insertions, 0 deletions