From 95d2207f11c0820cfcb91fb139cd6f572655331c Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Sat, 7 Feb 2009 18:15:56 +1030 Subject: [PATCH] --- yaml --- r: 131105 b: refs/heads/master c: 7f9a50a5b89b87f8e754f59ae9968da28be618a5 h: refs/heads/master i: 131103: 8825818c143a113ae04af19c74c8c97ffd7f2185 v: v3 --- [refs] | 2 +- trunk/include/linux/module.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/[refs] b/[refs] index d39b06416f57..a05e651b9579 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f12b12a8aecfcafcf2f9df1c1658d2484959dfda +refs/heads/master: 7f9a50a5b89b87f8e754f59ae9968da28be618a5 diff --git a/trunk/include/linux/module.h b/trunk/include/linux/module.h index f3b8329eb5b8..145a75528cc1 100644 --- a/trunk/include/linux/module.h +++ b/trunk/include/linux/module.h @@ -407,7 +407,6 @@ static inline local_t *__module_ref_addr(struct module *mod, int cpu) static inline void __module_get(struct module *module) { if (module) { - BUG_ON(module_refcount(module) == 0); local_inc(__module_ref_addr(module, get_cpu())); put_cpu(); }