Re: [PATCH] Add arm64 memory barriers support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/8/19 7:40 PM, Jackie Liu wrote:
> making liburing on arm64 platform failed. let's support it.
> 
> root@Kylin:/# cat /etc/os-release
> PRETTY_NAME="Debian GNU/Linux buster/sid"
> 
> root@Kylin:/# gcc -v
> gcc version 8.2.0 (Debian 8.2.0-20)
> 
> root@Kylin:~/liburing# make
> make[1]: Entering directory '/root/liburing/src'
> cc -g -fomit-frame-pointer -O2 -Wall -Iinclude/ -c -o setup.ol setup.c
> In file included from include/liburing.h:14,
>                   from setup.c:10:
> include/liburing.h: In function 'io_uring_cq_advance':
> include/liburing/barrier.h:73:2: warning: implicit declaration of function 'smp_mb'; did you mean 'smp_wmb'? [-Wimplicit-function-declaration]
>    smp_mb();    \
>    ^~~~~~
> include/liburing.h:111:3: note: in expansion of macro 'smp_store_release'
>     smp_store_release(cq->khead, *cq->khead + nr);
>     ^~~~~~~~~~~~~~~~~

Applied, thanks.

-- 
Jens Axboe




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux