From 7e7649baa9de9d592a76e150970e3079d7610138 Mon Sep 17 00:00:00 2001 From: kaloz Date: Tue, 1 May 2012 07:00:17 +0000 Subject: [coldfire]: switch to 2.6.38 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31546 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ...-CAU-driver-bug-for-SHA1-digest-algorithm.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 target/linux/coldfire/patches/041-Fix-CAU-driver-bug-for-SHA1-digest-algorithm.patch (limited to 'target/linux/coldfire/patches/041-Fix-CAU-driver-bug-for-SHA1-digest-algorithm.patch') diff --git a/target/linux/coldfire/patches/041-Fix-CAU-driver-bug-for-SHA1-digest-algorithm.patch b/target/linux/coldfire/patches/041-Fix-CAU-driver-bug-for-SHA1-digest-algorithm.patch new file mode 100644 index 0000000000..87df7809b8 --- /dev/null +++ b/target/linux/coldfire/patches/041-Fix-CAU-driver-bug-for-SHA1-digest-algorithm.patch @@ -0,0 +1,25 @@ +From da0df827fa9600b3104d4b8d8cc3edbdd5a0849b Mon Sep 17 00:00:00 2001 +From: Alison Wang +Date: Thu, 4 Aug 2011 09:59:53 +0800 +Subject: [PATCH 41/52] Fix CAU driver bug for SHA1 digest algorithm + +Make the compiler to never inline a particular member +function. + +Signed-off-by: Alison Wang +--- + drivers/crypto/mcfcau-sha1.c | 3 ++- + 1 files changed, 2 insertions(+), 1 deletions(-) + +--- a/drivers/crypto/mcfcau-sha1.c ++++ b/drivers/crypto/mcfcau-sha1.c +@@ -60,7 +60,8 @@ struct mcfcau_sha1_ctx { + u8 buffer[64]; + }; + +-static void mcfcau_sha1_transform(__u32 *digest, const char *in, __u32 *W) ++static noinline void mcfcau_sha1_transform(__u32 *digest, ++ const char *in, __u32 *W) + { + int i; + u32 *tmp_p; -- cgit v1.2.3