Yinghai Lu 87a1c441e1 x86: get x86_phys_bits early
when try to make hpet_enable use io_remap instead fixmap got

ioremap: invalid physical address fed00000
------------[ cut here ]------------
WARNING: at arch/x86/mm/ioremap.c:161 __ioremap_caller+0x8c/0x2f3()
Modules linked in:
Pid: 0, comm: swapper Not tainted 2.6.26-rc9-tip-01873-ga9827e7-dirty #358

Call Trace:
 [<ffffffff8026615e>] warn_on_slowpath+0x6c/0xa7
 [<ffffffff802e2313>] ? __slab_alloc+0x20a/0x3fb
 [<ffffffff802d85c5>] ? mpol_new+0x88/0x17d
 [<ffffffff8022a4f4>] ? mcount_call+0x5/0x31
 [<ffffffff8022a4f4>] ? mcount_call+0x5/0x31
 [<ffffffff8024b0d2>] __ioremap_caller+0x8c/0x2f3
 [<ffffffff80e86dbd>] ? hpet_enable+0x39/0x241
 [<ffffffff8022a4f4>] ? mcount_call+0x5/0x31
 [<ffffffff8024b466>] ioremap_nocache+0x2a/0x40
 [<ffffffff80e86dbd>] hpet_enable+0x39/0x241
 [<ffffffff80e7a1f6>] hpet_time_init+0x21/0x4e
 [<ffffffff80e730e9>] start_kernel+0x302/0x395
 [<ffffffff80e722aa>] x86_64_start_reservations+0xb9/0xd4
 [<ffffffff80e722fe>] ? x86_64_init_pda+0x39/0x4f
 [<ffffffff80e72400>] x86_64_start_kernel+0xec/0x107

---[ end trace a7919e7f17c0a725 ]---

it seems for amd system that is set later...
try to move setting early in early_identify_cpu.
and remove same code for intel and centaur.

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-07-14 09:24:16 +02:00
..
2008-07-14 09:24:16 +02:00
2008-04-25 19:54:07 +02:00
2008-07-08 13:10:38 +02:00
2008-05-25 12:03:27 +02:00
2008-07-09 09:14:02 +02:00
2008-04-19 19:10:28 -07:00
2008-01-30 13:31:31 +01:00
2008-07-13 08:19:40 +02:00
2008-07-08 13:10:38 +02:00
2008-07-03 08:19:18 +02:00
2008-01-30 13:31:19 +01:00
2008-07-11 20:49:28 +02:00
2008-07-12 07:11:10 +02:00
2008-04-17 17:41:36 +02:00
2008-07-08 13:16:14 +02:00
2008-07-01 11:03:31 +02:00
2008-04-26 17:35:47 +02:00
2008-06-02 11:55:52 +02:00
2008-03-26 22:23:40 +01:00
2008-01-30 13:33:10 +01:00
2008-05-25 08:58:32 +02:00
2008-07-08 09:53:57 +02:00
2008-04-19 19:19:54 +02:00
2008-04-27 12:00:28 +03:00
2008-06-12 21:25:51 +02:00
2008-07-03 11:37:20 +02:00
2008-07-10 18:55:31 +02:00
2008-04-19 19:10:28 -07:00
2008-07-13 08:19:45 +02:00
2008-07-08 13:10:38 +02:00
2008-07-08 13:10:38 +02:00
2008-07-14 09:24:16 +02:00
2008-04-19 19:19:57 +02:00
2008-07-08 13:10:38 +02:00
2008-05-25 08:58:30 +02:00
2008-06-12 18:05:42 -07:00
2008-07-13 08:19:45 +02:00
2008-04-30 08:29:37 -07:00
2008-04-30 08:29:37 -07:00
2008-05-13 19:36:12 +02:00
2008-04-17 17:40:55 +02:00
2008-04-17 17:40:55 +02:00
2008-07-09 07:43:25 +02:00
2008-04-17 17:40:56 +02:00
2008-07-08 12:23:31 +02:00
2008-01-30 13:31:52 +01:00
2008-07-10 19:45:01 +02:00
2008-05-25 07:09:47 +02:00
2008-05-25 08:58:24 +02:00