[PATCH] const mips_io_port_base !?

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

 





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

PGP signature


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux