]> git.baikalelectronics.ru Git - kernel.git/commit
Remove prefetch() from <linux/skbuff.h> and "netlabel_addrlist.h"
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 22 May 2011 23:51:43 +0000 (16:51 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 23 May 2011 04:43:41 +0000 (21:43 -0700)
commit82f4ddf0086ac7696f3195920d3fb71add4a1caf
tree96fa29fd0c3803f1d1803e1b979c6ac8345fff5a
parent04a75703968615050c3e892501ffff6837f68944
Remove prefetch() from <linux/skbuff.h> and "netlabel_addrlist.h"

Commit 4f3ec9d1e882 ("list: remove prefetching from regular list
iterators") removed the include of prefetch.h from list.h.  The skbuff
list traversal still had them.

Quoth David Miller:
  "Please just remove the prefetches.

  Those are modelled after list.h as I intend to eventually convert
  SKB list handling to "struct list_head" but we're not there yet.

  Therefore if we kill prefetches from list.h we should kill it from
  these things in skbuff.h too."

Requested-by: David Miller <davem@davemloft.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/skbuff.h
net/netlabel/netlabel_addrlist.h