diff options
author | Bharat Bhushan <r65777@freescale.com> | 2013-10-09 10:41:17 +0530 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-10-11 16:49:27 +1100 |
commit | 41b93b238ab394c8cf0935ec3ba31c700a2b3b25 (patch) | |
tree | 13d3450edf167edb4c4114e025e69824aac38e96 /arch/powerpc/kernel/ppc_ksyms.c | |
parent | 8616dff5b0e969444cc8484875ebd936956b5c0d (diff) | |
download | talos-op-linux-41b93b238ab394c8cf0935ec3ba31c700a2b3b25.tar.gz talos-op-linux-41b93b238ab394c8cf0935ec3ba31c700a2b3b25.zip |
powerpc: Added __cmpdi2 for signed 64bit comparision
This was missing on powerpc and I am getting compilation error
drivers/vfio/pci/vfio_pci_rdwr.c:193: undefined reference to `__cmpdi2'
drivers/vfio/pci/vfio_pci_rdwr.c:193: undefined reference to `__cmpdi2'
Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/ppc_ksyms.c')
-rw-r--r-- | arch/powerpc/kernel/ppc_ksyms.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/ppc_ksyms.c b/arch/powerpc/kernel/ppc_ksyms.c index 60bbeb29f9b8..d8c34073b42a 100644 --- a/arch/powerpc/kernel/ppc_ksyms.c +++ b/arch/powerpc/kernel/ppc_ksyms.c @@ -145,6 +145,8 @@ EXPORT_SYMBOL(__ashldi3); EXPORT_SYMBOL(__lshrdi3); int __ucmpdi2(unsigned long long, unsigned long long); EXPORT_SYMBOL(__ucmpdi2); +int __cmpdi2(long long, long long); +EXPORT_SYMBOL(__cmpdi2); #endif long long __bswapdi2(long long); EXPORT_SYMBOL(__bswapdi2); |