]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r277396, r278681, r278865, r278924, r279205, r280208,
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 5 May 2015 20:58:12 +0000 (20:58 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 5 May 2015 20:58:12 +0000 (20:58 +0000)
commitb0bc57162990fbfd826438350ac9cbe3468e697a
tree1366469ee372a97f4602608072fb528c26a97921
parent9fc3fac0a50d6cc9680c710f99ae8c8444346718
MFC r277396, r278681, r278865, r278924, r279205, r280208,
  r280210, r280764 and r280768:

Update the Linux compatibility layer:
- Add more functions.
- Add some missing includes which are needed when the header files
  are not included in a particular order.
- The kasprintf() function cannot be inlined due to using a variable
  number of arguments. Move it to a C-file.
- Fix problems about 32-bit ticks wraparound and unsigned long
  conversion. Jiffies or ticks in FreeBSD have integer type and are
  not long.
- Add missing "order_base_2()" macro.
- Fix BUILD_BUG_ON() macro.
- Declare a missing symbol which is needed when compiling without -O2
- Clean up header file inclusions in the linux/completion.h, linux/in.h
  and linux/fs.h header files.

Sponsored by: Mellanox Technologies

git-svn-id: svn://svn.freebsd.org/base/stable/10@282513 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
20 files changed:
sys/ofed/include/linux/bitops.h
sys/ofed/include/linux/cache.h
sys/ofed/include/linux/completion.h
sys/ofed/include/linux/device.h
sys/ofed/include/linux/dma-mapping.h
sys/ofed/include/linux/etherdevice.h
sys/ofed/include/linux/fs.h
sys/ofed/include/linux/gfp.h
sys/ofed/include/linux/in.h
sys/ofed/include/linux/io.h
sys/ofed/include/linux/jiffies.h
sys/ofed/include/linux/kernel.h
sys/ofed/include/linux/kref.h
sys/ofed/include/linux/ktime.h
sys/ofed/include/linux/linux_compat.c
sys/ofed/include/linux/log2.h
sys/ofed/include/linux/pci.h
sys/ofed/include/linux/slab.h
sys/ofed/include/linux/timer.h
sys/ofed/include/net/ip.h