      pci_common_init(&hipox_pci);
  	return 0;
  }
---- old/arch/arm/mach-hipox/smc.c	2011-05-16 11:00:09.165565000 +0200
-+++ new/arch/arm/mach-hipox/smc.c	2011-05-19 16:17:55.335565001 +0200
-@@ -20,17 +20,17 @@
+diff -Nurd linux-2.6.24.orig//arch/arm/mach-hipox/smc.c linux-2.6.24/arch/arm/mach-hipox/smc.c
+--- linux-2.6.24.orig//arch/arm/mach-hipox/smc.c	2011-06-15 08:54:13.869073667 +0200
++++ linux-2.6.24/arch/arm/mach-hipox/smc.c	2011-06-15 08:58:49.038353811 +0200
+@@ -20,6 +20,7 @@
  
  #include <asm/io.h>
  #include <asm/hardware.h>

-void hipox_smc_release_pci_ad_31_0(void)
+static void _hipox_smc_release_pci_ad_31_0(void)
 {
-	const s64 timeout = 400; /* us */  
-	s64 delta = ktime_us_delta(ktime_get(), request_pci_timestamp);
+	const unsigned int timeout = 100; /* ms */  
+	unsigned int delta = jiffies_to_msecs(get_jiffies_64()) - request_pci_timestamp;
 
 	/* set PCI_ARB request bit in Sysctrl_PCI_Ctrl1 */
 	writel(readl(SYS_CTRL_PCI_CTRL1) & ~(1UL << SYSCTL_PCI_CTRL1_SYSPCI_STATIC_REQ), SYS_CTRL_PCI_CTRL1);
 
 	if (delta > timeout)
 	{
-		printk(KERN_WARNING "%s: static memory interface blocked PCI bus for %llu us\n",  __func__, delta);
+		printk(KERN_WARNING "%s: static memory interface blocked PCI bus for %u ms\n",  __func__, delta);
 	}
 }
 

+void hipox_smc_request_pci_ad_31_0( void );
 
 #endif // __ASM_ARCH_SMC_H
