[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150925.001212.866826387271637011.davem@davemloft.net>
Date: Fri, 25 Sep 2015 00:12:12 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: huangdaode@...ilicon.com
Cc: robh+dt@...nel.org, pawel.moll@....com, mark.rutland@....com,
ijc+devicetree@...lion.org.uk, galak@...eaurora.org,
catalin.marinas@....com, will.deacon@....com,
liguozhu@...ilicon.com, Yisen.Zhuang@...wei.com,
paul.gortmaker@...driver.com, dingtianhong@...wei.com,
zhangfei.gao@...aro.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
netdev@...r.kernel.org, linuxarm@...wei.com,
salil.mehta@...wei.com, kenneth-lee-2012@...mail.com,
xuwei5@...ilicon.com, lisheng011@...wei.com
Subject: Re: [PATCH v2] net: Fix Hisilicon Network Subsystem Support
Compilation
From: huangdaode <huangdaode@...ilicon.com>
Date: Fri, 25 Sep 2015 14:47:23 +0800
> @@ -966,7 +966,15 @@ static inline u32 dsaf_get_reg_field(void *base, u32 reg, u32 mask, u32 shift)
> #define dsaf_read_b(addr)\
> readb((__iomem unsigned char *)(addr))
>
> +#ifndef readq
> +static inline u64 readq(void __iomem *reg)
> +{
Nope, try instead "#include <asm/io-64-nonatomic-lo-hi.h" or
"#include <asm/io-64-nonatomic-hi-lo.h".
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists