Skip to contentSkip to conversation

2.6.23-rc1 build breaks on ppc64.

DISCUSSION Srinivasa Ds 1 participant 1 message Jul 24, 2007

lore
Share & tools
lore
#0 lore raw

Compilation of 2.6.23-rc1 breaks on ppc64, if CONFIG_SOFTWARE_SUSPEND
is not set.
===========================================================

  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CHK     include/linux/compile.h
  CC      arch/powerpc/sysdev/dart_iommu.o

arch/powerpc/sysdev/dart_iommu.c: In function âiommu_init_late_dartâ:
arch/powerpc/sysdev/dart_iommu.c:376: error: implicit declaration of function âregister_nosave_region_lateâ
make[1]: *** [arch/powerpc/sysdev/dart_iommu.o] Error 1
make: *** [arch/powerpc/sysdev] Error 2
==============================================================
In include/linux/suspend.h
===========================================================
#ifdef CONFIG_PM
#ifdef CONFIG_SOFTWARE_SUSPEND
/* kernel/power/snapshot.c */
extern void __register_nosave_region(unsigned long b, unsigned long e, int km);
static inline void register_nosave_region(unsigned long b, unsigned long e)

{
        __register_nosave_region(b, e, 0);
}
static inline void register_nosave_region_late(unsigned long b, unsigned
long e)
{
        __register_nosave_region(b, e, 1);
}

==========================================================

Thanks
Srinivasa DS
LTC-ISL
IBM India