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:17 PM
Leann Ogasawara
 
Default Revert "UBUNTU: SAUCE: Fix MODULE_IMPORT/MODULE_EXPORT"

>From d014edba67f05992abe33d821d98c27ffa5d6561 Mon Sep 17 00:00:00 2001
From: Leann Ogasawara <leann.ogasawara@canonical.com>
Date: Fri, 21 May 2010 15:01:45 -0700
Subject: [PATCH 06/13] Revert "UBUNTU: SAUCE: Fix MODULE_IMPORT/MODULE_EXPORT"

This reverts commit 1980cfad7f9cb0faf00a669096fd933db2837335.

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 | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/include/linux/module.h b/include/linux/module.h
index d76b5fc..a9158a6 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -732,8 +732,7 @@ static inline void module_bug_cleanup(struct module *mod) {}
* and modprobe do the heavy lifting of loading the modules in the
* correct dependency order.
*/
-#define MODULE_EXPORT(mod_name) int sym_link_##mod_name; EXPORT_SYMBOL(sym_link_##mod_name);
-#define MODULE_IMPORT(mod_name) extern int sym_link_##mod_name; int func_sym_link_##mod_name(void) {sym_link_##mod_name=1;}; EXPORT_SYMBOL(func_sym_link_##mod_name);
-
+#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 07:52 AM.

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