Messages in this thread Patch in this message | | | Date | Wed, 07 Mar 2007 18:52:12 -0500 | From | Brian Walsh <> | Subject | [PATCH] include/asm-arm/arch-ixp4xx: Consolidate check_signature |
| |
The check_signature function is now in linux/include/io.h. This platform was missed in the previous consolidation.
Signed-off-by: Brian Walsh <brian@walsh.ws>
diff -ur a/include/asm-arm/arch-ixp4xx/io.h b/include/asm-arm/arch-ixp4xx/io.h --- a/include/asm-arm/arch-ixp4xx/io.h 2007-03-07 14:59:47.000000000 -0500 +++ b/include/asm-arm/arch-ixp4xx/io.h 2007-03-07 14:58:54.000000000 -0500 @@ -238,23 +238,6 @@ #define memcpy_fromio(a,c,l) _memcpy_fromio((a),(c),(l)) #define memcpy_toio(c,a,l) _memcpy_toio((c),(a),(l))
-static inline int -check_signature(const unsigned char __iomem *bus_addr, const unsigned char *signature, - int length) -{ - int retval = 0; - do { - if (readb(bus_addr) != *signature) - goto out; - bus_addr++; - signature++; - length--; - } while (length); - retval = 1; -out: - return retval; -} - #endif
#ifndef CONFIG_PCI - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |