Commit:     6d7623943c905efae327933bc5ee0b2f78e15f56
Parent:     88173507e4fc1e7ecd111b0565e8cba0cb7dae6d
Author:     Christoph Lameter <[EMAIL PROTECTED]>
AuthorDate: Fri Feb 8 04:18:42 2008 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Fri Feb 8 09:22:24 2008 -0800

    modules: include sections.h to avoid defining linker variables explicitly
    module.c should not define linker variables on its own. We have an include
    file for that.
    Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]>
    Cc: Rusty Russell <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 kernel/module.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/kernel/module.c b/kernel/module.c
index dc04d4d..676c023 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -46,6 +46,7 @@
 #include <asm/semaphore.h>
 #include <asm/cacheflush.h>
 #include <linux/license.h>
+#include <asm/sections.h>
 #if 0
 #define DEBUGP printk
@@ -343,9 +344,6 @@ static inline unsigned int block_size(int val)
        return val;
-/* Created by linker magic */
-extern char __per_cpu_start[], __per_cpu_end[];
 static void *percpu_modalloc(unsigned long size, unsigned long align,
                             const char *name)
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to