* [PATCH] include/asm-arm/arch-ixp4xx: Consolidate check_signature
@ 2007-03-07 23:52 Brian Walsh
0 siblings, 0 replies; only message in thread
From: Brian Walsh @ 2007-03-07 23:52 UTC (permalink / raw)
To: linux-kernel; +Cc: Russell King
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-03-07 23:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-07 23:52 [PATCH] include/asm-arm/arch-ixp4xx: Consolidate check_signature Brian Walsh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox