Franck Bui-Huu
b1c65b3988
[MIPS] Fix PHYS_OFFSET for 64-bits kernels with 32-bits symbols
...
The current implementation of __pa() for 64-bits kernels with 32-bits
symbols is broken. In this configuration, we need 2 values for
PAGE_OFFSET, one in XKPHYS and the other in CKSEG0 space.
When the value in CKSEG0 space is used, it doesn't take into account
of PHYS_OFFSET. Even worse we can't redefine this value.
The patch restores CPHYSADDR() but in __pa()'s implementation because
it removes the need of 2 PAGE_OFFSET.
OTOH, CPHYSADDR() is quite bad when dealing with mapped kernels. So
this patch assumes there's no need to deal with such kernel in 64-bits
world.
Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-07-10 17:32:57 +01:00
..
2006-04-26 12:56:16 +01:00
2007-02-06 16:53:09 +00:00
2007-02-09 16:23:16 +00:00
2007-02-06 16:53:08 +00:00
2006-04-26 12:56:16 +01:00
2007-04-27 16:20:23 +01:00
2007-03-04 19:02:37 +00:00
2007-03-04 19:02:31 +00:00
2007-07-10 17:32:56 +01:00
2007-07-10 17:32:55 +01:00
2006-06-23 07:42:56 -07:00
2006-07-10 13:24:25 -07:00
2007-02-06 16:53:08 +00:00
2006-10-01 23:16:59 +01:00
2006-09-27 13:37:57 +01:00
2007-07-10 17:32:57 +01:00
2007-07-10 17:32:57 +01:00
2007-07-10 17:32:57 +01:00
2007-07-10 17:32:57 +01:00
2007-02-13 22:40:50 +00:00
2007-03-04 19:02:34 +00:00
2007-03-04 19:02:31 +00:00
2007-07-10 17:32:56 +01:00
2006-07-13 21:26:04 +01:00
2006-04-26 12:56:16 +01:00
2006-10-04 18:06:15 +01:00
2006-09-27 13:37:49 +01:00
2007-03-04 19:02:38 +00:00
2006-07-13 21:26:04 +01:00
2007-02-06 16:53:09 +00:00
2006-06-19 17:39:18 +01:00
2006-07-13 21:26:04 +01:00
2007-06-20 22:27:10 +01:00
2006-06-19 17:39:24 +01:00
2007-05-11 17:00:29 +01:00
2007-04-27 16:20:24 +01:00
2006-12-12 01:46:24 +00:00
2006-04-26 12:56:16 +01:00
2006-10-03 23:01:26 +02:00
2007-02-06 16:53:09 +00:00
2006-04-26 12:56:16 +01:00
2007-02-18 21:31:35 +00:00
2007-07-10 17:32:56 +01:00
2006-11-01 17:46:09 +00:00
2006-06-19 17:39:13 +01:00
2006-06-19 17:39:13 +01:00
2007-06-06 19:34:31 +01:00
2007-05-11 14:28:33 +01:00
2006-12-04 22:43:14 +00:00
2006-04-26 12:56:16 +01:00
2007-06-26 19:57:33 +02:00
2007-05-11 14:28:31 +01:00
2007-04-20 14:58:37 +01:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2007-04-27 16:20:24 +01:00
2007-04-20 14:58:37 +01:00
2007-06-26 19:57:33 +02:00
2006-12-12 01:46:24 +00:00
2007-03-17 01:03:26 +00:00
2007-03-17 01:03:26 +00:00
2007-07-06 16:17:11 +01:00
2006-04-26 12:56:16 +01:00
2007-03-24 17:01:49 +00:00
2006-12-01 14:52:01 -08:00
2007-04-25 22:23:33 -07:00
2007-02-13 22:40:50 +00:00
2007-03-08 01:10:30 +00:00
2007-02-18 21:31:37 +00:00
2006-04-26 12:56:16 +01:00
2006-09-27 13:37:48 +01:00
2006-10-21 23:17:35 +01:00
2006-06-19 17:39:18 +01:00
2007-05-11 14:28:31 +01:00
2006-12-07 08:39:21 -08:00
2007-07-10 17:32:55 +01:00
2006-11-30 01:14:43 +00:00
2007-05-11 14:28:31 +01:00
2007-05-11 14:28:31 +01:00
2006-06-29 10:26:23 -07:00
2007-02-06 16:53:09 +00:00
2006-07-13 21:26:08 +01:00
2007-02-18 21:31:34 +00:00
2007-02-26 23:06:06 +00:00
2007-02-06 16:53:08 +00:00
2006-10-08 02:38:28 +01:00
2007-06-20 22:27:10 +01:00
2007-03-29 23:46:36 +01:00
2006-04-26 12:56:16 +01:00
2006-09-27 13:37:56 +01:00
2007-05-08 11:15:04 -07:00
2007-05-08 11:15:07 -07:00
2006-04-26 12:56:16 +01:00
2006-04-19 04:14:27 +02:00
2007-05-08 11:15:20 -07:00
2007-03-29 23:46:35 +01:00
2007-03-07 00:07:15 +00:00
2007-02-06 16:53:24 +00:00
2007-07-06 16:17:11 +01:00
2007-02-11 10:51:17 -08:00
2007-05-02 19:27:14 +02:00
2006-06-23 07:42:52 -07:00
2007-06-26 19:57:34 +02:00
2007-05-11 14:28:31 +01:00
2006-04-26 12:56:16 +01:00
2007-04-27 16:20:25 +01:00
2007-07-10 17:32:57 +01:00
2006-06-19 17:39:27 +01:00
2007-02-18 21:31:34 +00:00
2007-05-21 09:18:19 -07:00
2006-12-06 20:16:08 +00:00
2007-03-24 17:01:49 +00:00
2006-04-26 12:56:16 +01:00
2007-05-08 11:15:13 -07:00
2007-05-11 08:29:34 -07:00
2006-04-26 12:56:16 +01:00
2007-07-10 17:32:55 +01:00
2007-07-04 15:53:15 +01:00
2006-06-19 17:39:19 +01:00
2006-04-19 04:14:28 +02:00
2006-04-26 12:56:16 +01:00
2006-04-26 12:56:16 +01:00
2006-06-19 17:39:26 +01:00
2006-04-19 04:14:22 +02:00
2007-03-17 01:03:29 +00:00
2007-05-02 19:02:34 -07:00
2007-02-06 16:53:15 +00:00
2007-05-11 14:28:31 +01:00
2006-12-07 08:39:46 -08:00
2007-03-04 19:02:37 +00:00
2007-03-24 17:01:49 +00:00
2007-02-22 00:50:44 +00:00
2006-04-26 12:56:16 +01:00
2007-02-18 21:31:35 +00:00
2006-04-26 12:56:16 +01:00
2007-07-10 17:32:55 +01:00
2007-03-29 23:46:36 +01:00
2006-04-19 04:14:28 +02:00
2007-03-07 00:07:16 +00:00
2007-02-26 23:06:06 +00:00
2007-04-25 22:24:21 -07:00
2007-04-25 22:24:04 -07:00
2006-06-06 00:15:20 +01:00
2007-03-07 00:07:17 +00:00
2007-06-11 18:20:53 +01:00
2006-10-01 23:16:59 +01:00
2006-04-26 12:56:16 +01:00
2007-05-11 14:28:30 +01:00
2006-12-08 08:28:56 -08:00
2007-02-11 10:51:26 -08:00
2007-04-20 14:58:37 +01:00
2006-11-30 01:14:49 +00:00
2006-09-27 13:37:40 +01:00
2006-04-26 12:56:16 +01:00
2006-12-04 19:41:15 -08:00
2007-03-07 00:07:17 +00:00
2007-07-04 15:53:16 +01:00
2006-09-27 13:37:40 +01:00
2006-06-22 15:05:58 -07:00
2006-04-19 04:14:27 +02:00
2007-07-06 16:17:11 +01:00
2006-04-26 12:56:16 +01:00