diff options
author | Ben Segal | 2019-08-02 01:22:20 +0200 |
---|---|---|
committer | Oded Gabbay | 2019-08-12 08:01:10 +0200 |
commit | 4e87334a0ef43663019dbaf3638ad10fd8c3320c (patch) | |
tree | b4442f504c8f49bbc29721d712a7c6d5129d5212 /drivers/nvdimm/btt_devs.c | |
parent | habanalabs: fix endianness handling for packets from user (diff) | |
download | kernel-qcow2-linux-4e87334a0ef43663019dbaf3638ad10fd8c3320c.tar.gz kernel-qcow2-linux-4e87334a0ef43663019dbaf3638ad10fd8c3320c.tar.xz kernel-qcow2-linux-4e87334a0ef43663019dbaf3638ad10fd8c3320c.zip |
habanalabs: fix completion queue handling when host is BE
This patch fix the CQ irq handler to work in hosts with BE architecture.
It adds the correct endian-swapping macros around the relevant memory
accesses.
Signed-off-by: Ben Segal <bpsegal20@gmail.com>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/nvdimm/btt_devs.c')
0 files changed, 0 insertions, 0 deletions