linux-mips
[Top] [All Lists]

Re: [PATCH] const mips_io_port_base !?

To: Ralf Baechle <ralf@oss.sgi.com>
Subject: Re: [PATCH] const mips_io_port_base !?
From: James Simmons <jsimmons@transvirtual.com>
Date: Wed, 28 Nov 2001 09:23:10 -0800 (PST)
Cc: linux-mips@oss.sgi.com
In-reply-to: <20011128091655.A20264@lucon.org>
Sender: owner-linux-mips@oss.sgi.com
Ralph please apply this patch to arch/mips/kernel/setup.c. Some compilers
don't like the conflict of definition in io.h and setup.c. Thanks.
 
--- setup.c.orig        Wed Nov 28 10:19:09 2001
+++ setup.c     Wed Nov 28 10:19:20 2001
@@ -106,7 +106,7 @@
  * mips_io_port_base is the begin of the address space to which x86 style
  * I/O ports are mapped.
  */
-unsigned long mips_io_port_base;       EXPORT_SYMBOL(mips_io_port_base);
+const unsigned long mips_io_port_base; EXPORT_SYMBOL(mips_io_port_base);
 
 
 /*


<Prev in Thread] Current Thread [Next in Thread>