--- zzzz-none-000/linux-2.4.17/kernel/pm.c 2001-04-06 17:51:19.000000000 +0000 +++ sangam-fb-322/linux-2.4.17/kernel/pm.c 2004-11-24 13:21:27.000000000 +0000 @@ -25,6 +25,9 @@ #include int pm_active; +#if defined(CONFIG_ARCH_SA1100) +int pm_current_state = PM_STATE_NORMAL; +#endif /* * Locking notes: @@ -291,3 +294,6 @@ EXPORT_SYMBOL(pm_send_all); EXPORT_SYMBOL(pm_find); EXPORT_SYMBOL(pm_active); +#if defined(CONFIG_ARCH_SA1100) +EXPORT_SYMBOL(pm_current_state); +#endif