public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: huangdaode@hisilicon•com (huangdaode)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH v2] net: Fix Hisilicon Network Subsystem Support Compilation
Date: Fri, 25 Sep 2015 15:55:34 +0800	[thread overview]
Message-ID: <5604FDF6.5050604@hisilicon.com> (raw)
In-Reply-To: <20150925.001212.866826387271637011.davem@davemloft.net>

On 2015/9/25 15:12, David Miller wrote:
> 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".
>
> .
>
yes, it's defined in #include <asm-generic/io-64-nonatomic-hi-lo.h>.
will fix in v3,
thanks

      reply	other threads:[~2015-09-25  7:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-25  6:47 [PATCH v2] net: Fix Hisilicon Network Subsystem Support Compilation huangdaode
2015-09-25  7:12 ` David Miller
2015-09-25  7:55   ` huangdaode [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5604FDF6.5050604@hisilicon.com \
    --to=huangdaode@hisilicon$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox