Patchwork [07/13] Revert "UBUNTU: SAUCE: Created MODULE_EXPORT/MODULE_IMPORT macros"

login
register
mail settings
Submitter Leann Ogasawara
Date May 21, 2010, 11:18 p.m.
Message ID <1274483884.19284.3332.camel@emiko>
Download mbox | patch
Permalink /patch/53222/
State Accepted
Delegated to: Leann Ogasawara
Headers show

Comments

Leann Ogasawara - May 21, 2010, 11:18 p.m.
>From c4f104bd51c3f16bce07d3aafd79bf8a76ec30e5 Mon Sep 17 00:00:00 2001
From: Leann Ogasawara <leann.ogasawara@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@canonical.com>
---
 include/linux/module.h |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

Patch

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 */