Microsemi / switchtec-kernel

A kernel module for the Microsemi PCIe switch
GNU General Public License v2.0
45 stars 31 forks source link

fix compile error for readq and writeq on unsupport systems #40

Closed wesleywesley closed 6 years ago

wesleywesley commented 6 years ago

include <linux/io-64-nonatomic-lo-hi.h> so that readq/writeq is replaced by two readl/writel on systems that do not support it

lsgunth commented 6 years ago

This should fix #39. It would be good to get a confirmation from ComiXZonE.

Besides that, I approve.

wesleywesley commented 6 years ago

update the commit message with a. The subsystem identifier ("switchtec:") b. Using Reported-by:, Suggested-by: and Signed-off-by: tags