Yinghai Lu 76c324182b x86: fix trim mtrr not to setup_memory two times
we could call find_max_pfn() directly instead of setup_memory() to get
max_pfn needed for mtrr trimming.

otherwise setup_memory() is called two times... that is duplicated...

[ mingo@elte.hu: both Thomas and me simulated a double call to
  setup_bootmem_allocator() and can confirm that it is a real bug
  which can hang in certain configs. It's not been reported yet but
  that is probably due to the relatively scarce nature of
  MTRR-trimming systems. ]

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-03-26 22:23:41 +01:00
..
2008-01-30 13:33:14 +01:00
2008-02-26 12:55:49 +01:00
2008-01-30 13:31:31 +01:00
2008-01-31 22:05:47 +01:00
2008-02-19 16:18:28 +01:00
2008-02-19 16:18:28 +01:00
2008-02-19 16:18:29 +01:00
2008-03-21 17:06:15 +01:00
2008-02-26 12:55:50 +01:00
2008-03-07 16:39:14 +01:00
2008-02-13 16:20:35 +01:00
2008-03-26 22:23:40 +01:00
2008-01-30 13:33:10 +01:00
2008-01-30 13:33:19 +01:00
2008-02-14 23:30:20 +01:00
2008-03-11 17:11:54 +01:00
2008-01-30 13:32:40 +01:00
2008-03-11 17:11:54 +01:00
2008-03-07 16:39:14 +01:00
2008-02-08 09:22:29 -08:00
2008-02-29 18:55:39 +01:00
2008-01-30 13:31:52 +01:00
2008-02-06 22:39:44 +01:00
2008-01-30 13:33:24 +01:00
2008-01-30 13:31:42 +01:00
2008-02-04 16:47:54 +01:00