Remove old ZONE_START macro
authorKan-Ru Chen <kanru@0xlab.org>
Tue, 28 Jun 2011 04:07:15 +0000 (12:07 +0800)
committerKan-Ru Chen <kanru@0xlab.org>
Tue, 28 Jun 2011 10:12:49 +0000 (18:12 +0800)
commite551caf589fef5d69d0c76d11eded7884c0952bf
treea6985d7e023101220a6bb590db9e6aeaaff62ae3
parent60de28b220c736bb237e5c958fc251967c454b35
Remove old ZONE_START macro

It seems that this macro was used to fix non-x86 cases that
zone_start_pfn includes a PHYS_PFN_OFFSET, when the old suspend2 code
assumed that pfn was started from zero.

This is unnecessary now. In recent efforts that are trying to port
tuxonice to ARM OMAP4 architecture we have to redefine the ZONE_START
macro to not to subtract PHYS_PFN_OFFSET. I think it can be completely
removed now.
kernel/power/power.h
kernel/power/tuxonice_prepare_image.c