x86: remove unnecessary save_mr() sanity check
authorPekka Enberg <penberg@cs.helsinki.fi>
Thu, 5 Mar 2009 12:54:57 +0000 (14:54 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 5 Mar 2009 13:17:13 +0000 (14:17 +0100)
commit96083ca11bc85265c7ef9e791a57e3514d8f605a
tree212b9549b62465687bae7ea6d83b3597b74a9551
parent54e63f3a4282a8bc5b39db29095f076ece2b1073
x86: remove unnecessary save_mr() sanity check

Impact: cleanup

The save_mr() function already checks that start_pfn is less than
end_pfn so we can remove the unnecessary check which reduces the
diff between the 32-bit and the 64-bit versions of init_memory_mapping().

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <1236257708-27269-6-git-send-email-penberg@cs.helsinki.fi>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/init_32.c