Backport of upstream commit: 29b4433d991c88d86ca48a4c1cc33c671475be4b net: percpu net_device refcount Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- include/linux/compat-2.6.37.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/linux/compat-2.6.37.h b/include/linux/compat-2.6.37.h index e993f75..cee23a8 100644 --- a/include/linux/compat-2.6.37.h +++ b/include/linux/compat-2.6.37.h @@ -108,6 +108,8 @@ extern void compat_led_brightness_set(struct led_classdev *led_cdev, #define alloc_ordered_workqueue(name, flags) create_singlethread_workqueue(name) +#define netdev_refcnt_read(a) atomic_read(&a->refcnt) + #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37)) */ #endif /* LINUX_26_37_COMPAT_H */ -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html