lkml.org 
[lkml]   [2001]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: PATCH: Discard .exitcall.exit for alpha.
On Thu, Nov 22, 2001 at 12:43:02AM -0800, H . J . Lu wrote:
> Hi Linus,
>
> The upcoming binutils will flag relocations against discarded sections
> as fatal errors. Here is a patch for the alpha linker script.
>
>

Here is another patch. serial_remove_one will be discarded if serial
is not rebuilt as a module.


H.J.
----
--- linux/drivers/char/serial.c.exit Mon Aug 13 01:15:08 2001
+++ linux/drivers/char/serial.c Fri Nov 16 17:08:32 2001
@@ -4741,7 +4741,9 @@ MODULE_DEVICE_TABLE(pci, serial_pci_tbl)
static struct pci_driver serial_pci_driver = {
name: "serial",
probe: serial_init_one,
+#ifdef MODULE
remove: serial_remove_one,
+#endif
id_table: serial_pci_tbl,
};

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:13    [W:0.060 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site