diff -ruN linux-2.4.27/arch/i386/kernel/Makefile software-suspend-linux-2.4.27-rev1/arch/i386/kernel/Makefile
--- linux-2.4.27/arch/i386/kernel/Makefile	2003-12-17 08:48:14.000000000 +1100
+++ software-suspend-linux-2.4.27-rev1/arch/i386/kernel/Makefile	2004-08-20 09:21:00.000000000 +1000
@@ -14,8 +14,10 @@
 
 O_TARGET := kernel.o
 
+GFLAGS_suspend.o = -O0
+
 export-objs     := mca.o mtrr.o msr.o cpuid.o microcode.o i386_ksyms.o time.o \
-		setup.o speedstep-lib.o
+		setup.o speedstep-lib.o suspend.o
 
 obj-y	:= process.o semaphore.o signal.o entry.o traps.o irq.o vm86.o \
 		ptrace.o i8259.o ioport.o ldt.o setup.o time.o sys_i386.o \
@@ -56,5 +58,6 @@
 obj-$(CONFIG_ELAN_CPUFREQ)	+= elanfreq.o
 obj-$(CONFIG_X86_LONGRUN)	+= longrun.o  
 obj-$(CONFIG_X86_GX_SUSPMOD)	+= gx-suspmod.o  
+obj-$(CONFIG_SOFTWARE_SUSPEND2) += suspend.o
 
 include $(TOPDIR)/Rules.make
