diff options
author | Bart Van Assche <bvanassche@acm.org> | 2020-03-13 21:30:59 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-03-17 03:08:32 +0100 |
commit | 7251c0a41053631ac66795e7f7ddf4d4cba1f467 (patch) | |
tree | 94a9d4fdff650862979febb3629cdbfa843c2853 /include/target | |
parent | scsi: linux/unaligned/byteshift.h: Remove superfluous casts (diff) | |
download | linux-7251c0a41053631ac66795e7f7ddf4d4cba1f467.tar.xz linux-7251c0a41053631ac66795e7f7ddf4d4cba1f467.zip |
scsi: c6x: Include <linux/unaligned/generic.h> instead of duplicating it
Use the generic __{get,put}_unaligned_[bl]e() definitions instead of
duplicating these. Since a later patch will add more definitions into
<linux/unaligned/generic.h>, this patch ensures that these definitions have
to be added only once. See also commit a7f626c1948a ("C6X: headers"). See
also commit 6510d41954dc ("kernel: Move arches to use common unaligned
access").
Link: https://lore.kernel.org/r/20200313203102.16613-3-bvanassche@acm.org
Cc: Aurelien Jacquiot <jacquiot.aurelien@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Mark Salter <msalter@redhat.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/target')
0 files changed, 0 insertions, 0 deletions