FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 05-21-2010, 11:18 PM
Leann Ogasawara
 
Default Revert "UBUNTU: SAUCE: Created MODULE_EXPORT/MODULE_IMPORT macros"

>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(-)

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




--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 02:27 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org