linux-mips
[Top] [All Lists]

[PATCH] const mips_io_port_base !?

To: linux-mips@oss.sgi.com
Subject: [PATCH] const mips_io_port_base !?
From: Florian Lohoff <flo@rfc822.org>
Date: Tue, 27 Nov 2001 01:02:14 +0100
Organization: rfc822 - pure communication
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.3.23i

For the reason of compilability one should build a consensus ...



diff -u -r1.29 io.h
--- include/asm-mips/io.h       2001/11/26 11:14:37     1.29
+++ include/asm-mips/io.h       2001/11/27 01:00:07
@@ -60,7 +60,7 @@
  * instruction, so the lower 16 bits must be zero.  Should be true on
  * on any sane architecture; generic code does not use this assumption.
  */
-extern const unsigned long mips_io_port_base;
+extern unsigned long mips_io_port_base;
 
 #define set_io_port_base(base) \
        do { * (unsigned long *) &mips_io_port_base = (base); } while (0)


Or the other way round ...

Flo
-- 
Florian Lohoff                  flo@rfc822.org             +49-5201-669912
Nine nineth on september the 9th              Welcome to the new billenium

Attachment: pgpWmxvyqkORg.pgp
Description: PGP signature

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