ubuntu 在 R40e 上 還有 Debian 在 Sempron 2600 上

2014年8月25日 星期一

a whole set of __dev... macros are no longer used or defined

copy:
a whole set of __dev... macros are no longer used or defined

  • Here is the list: __devinit, __devinitdata, __devinitconst, __devexit, __devexitdata, __devexitconst
  • background: These attributes were used on certain driver functions and data declarations, putting them in a separate section that could be discarded under certain circumstances. This functionality is no longer relevant, and the macros were removed in version 3.8 of the kernel. The macros should no longer be used.
  • Just remove the attributes any place they are used.

ref:
  • http://elinux.org/Kernel_3.4_to_3.10_porting_guide
  • https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=54b956b903607
  • https://groups.google.com/forum/#!msg/linux.kernel/rHxmuN4tiE8/_LhGvxCjS18J

沒有留言:

標籤

網誌存檔