Which header file?

Amit Kumar free.amit.kumar at gmail.com
Wed Nov 16 16:01:19 EST 2016

In linux/include/linux/atomic.h, there are two files included asm/atomic.h
and asm/barrier.h. Both files are present in linux/include/asm-generic and
linux/arch/arm/include/asm. If I build like,
CROSS_COMPILE=arm-linux-gnueabi- ARCH=arm make zImage dtbs
then which file is being used.

A kernel newbie,
Amit Kumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20161116/66f8fc13/attachment.html 

More information about the Kernelnewbies mailing list