[PATCH 07/13] Revert "UBUNTU: SAUCE: Created MODULE_EXPORT/MODULE_IMPORT macros"
Leann Ogasawara
leann.ogasawara at canonical.com
Fri May 21 23:18:04 UTC 2010
>From c4f104bd51c3f16bce07d3aafd79bf8a76ec30e5 Mon Sep 17 00:00:00 2001
From: Leann Ogasawara <leann.ogasawara at canonical.com>
Date: Fri, 21 May 2010 15:03:09 -0700
Subject: [PATCH 07/13] Revert "UBUNTU: SAUCE: Created MODULE_EXPORT/MODULE_IMPORT macros"
This reverts commit 7da19fb80b591e2df331cbd73f23b0676adb95dd.
There are no consumers of these macros in Maverick. It was noted that
we side stepped the issue by building in the dependent service, e.g.
libphy.
Signed-off-by: Leann Ogasawara <leann.ogasawara at canonical.com>
---
include/linux/module.h | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/include/linux/module.h b/include/linux/module.h
index a9158a6..515d53a 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -727,12 +727,4 @@ static inline int module_bug_finalize(const Elf_Ehdr *hdr,
static inline void module_bug_cleanup(struct module *mod) {}
#endif /* CONFIG_GENERIC_BUG */
-/*
- * Establish a symbolic link between 2 modules so that depmod
- * and modprobe do the heavy lifting of loading the modules in the
- * correct dependency order.
- */
-#define MODULE_EXPORT(mod_name) int mod_name; EXPORT_SYMBOL(mod_name);
-#define MODULE_IMPORT(mod_name) extern int mod_name;
-
#endif /* _LINUX_MODULE_H */
--
1.7.0.4
More information about the kernel-team
mailing list