Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1232619
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2] net: Fix Hisilicon Network Subsystem Support Compilation |
| Date | 2015-09-25 09:20 +0200 |
| Message-ID | <qcvst-2R9-1@gated-at.bofh.it> (permalink) |
| References | <qcuZs-23t-29@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: huangdaode <huangdaode@hisilicon.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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2] net: Fix Hisilicon Network Subsystem Support Compilation huangdaode <huangdaode@hisilicon.com> - 2015-09-25 08:50 +0200
Re: [PATCH v2] net: Fix Hisilicon Network Subsystem Support Compilation David Miller <davem@davemloft.net> - 2015-09-25 09:20 +0200
Re: [PATCH v2] net: Fix Hisilicon Network Subsystem Support Compilation huangdaode <huangdaode@hisilicon.com> - 2015-09-25 10:10 +0200
csiph-web