]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r277396, r278681, r278865, r278924, r279205, r280208,
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 5 May 2015 20:59:43 +0000 (20:59 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 5 May 2015 20:59:43 +0000 (20:59 +0000)
commitb04b77cc67c20abdc8954b977503eb668ee6f93b
tree2e1f374291215b65dc52770abdc1aaac5da1037a
parentec3b229ebe74843a2adf99fbaec7abea4e624952
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/9@282514 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