+ net-atm-compile-error-on-arm.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     net/atm compile error on ARM

has been added to the -mm tree.  Its filename is

     net-atm-compile-error-on-arm.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: net/atm compile error on ARM
From: Kevin Hilman <kevin@xxxxxxxxxx>

atm_proc_exit() is declared as __exit, and thus in .exit.text.  On some
architectures (ARM) .exit.text is discarded at compile time, and since
atm_proc_exit() is called by some other __init functions, it results in a
link error.

Signed-off-by: Kevin Hilman <khilman@xxxxxxxxxx>
Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 net/atm/proc.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN net/atm/proc.c~net-atm-compile-error-on-arm net/atm/proc.c
--- a/net/atm/proc.c~net-atm-compile-error-on-arm
+++ a/net/atm/proc.c
@@ -507,7 +507,7 @@ err_out:
 	goto out;
 }
 
-void __exit atm_proc_exit(void)
+void atm_proc_exit(void)
 {
 	atm_proc_dirs_remove();
 }
_

Patches currently in -mm which might be from kevin@xxxxxxxxxx are

net-atm-compile-error-on-arm.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux