Update Linux compatibility shims/coccis
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 2 Nov 2017 18:02:00 +0000 (14:02 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 16 Nov 2017 15:46:55 +0000 (10:46 -0500)
commit69b7d9c08f8e3a6d339980317ec8b1e7eeb9b8d5
tree49d057c3ec273af69022a4e22a8e1e9e79c6d754
parentfb3b895369830b3b40ce1dfe2379c695c2b26772
Update Linux compatibility shims/coccis

These were updates I made for the r8169.

There's also a potential bugfix in there for mlx4.  wait_for_completion()
should sleep, not busywait.  This pops up later in the patchset when we
make netif_carrier_ok() not just return true.  Incidentally, if we're going
to busywait, we should be using udelay.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/include/linux/compat_todo.h
kern/include/linux_compat.h
scripts/spatch/linux/funcs.cocci
scripts/spatch/linux/scalar.cocci