summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/patches-2.6.28/500-lzma_initramfs.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2009-03-01 20:19:55 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2009-03-01 20:19:55 +0000
commit4c548fbacad57bdbf903c0060d1b28e329cf0690 (patch)
tree7c635acbbd1d8e206d19d73aa6190a7b4a7139e0 /target/linux/brcm47xx/patches-2.6.28/500-lzma_initramfs.patch
parent1b922ab410fd1e1a0c2320ba097a79d09dfe9788 (diff)
downloadmtk-20170518-4c548fbacad57bdbf903c0060d1b28e329cf0690.zip
mtk-20170518-4c548fbacad57bdbf903c0060d1b28e329cf0690.tar.gz
mtk-20170518-4c548fbacad57bdbf903c0060d1b28e329cf0690.tar.bz2
refresh patches and configuration
SVN-Revision: 14722
Diffstat (limited to 'target/linux/brcm47xx/patches-2.6.28/500-lzma_initramfs.patch')
-rw-r--r--target/linux/brcm47xx/patches-2.6.28/500-lzma_initramfs.patch4
1 files changed, 1 insertions, 3 deletions
diff --git a/target/linux/brcm47xx/patches-2.6.28/500-lzma_initramfs.patch b/target/linux/brcm47xx/patches-2.6.28/500-lzma_initramfs.patch
index d03d34b..dc49e12 100644
--- a/target/linux/brcm47xx/patches-2.6.28/500-lzma_initramfs.patch
+++ b/target/linux/brcm47xx/patches-2.6.28/500-lzma_initramfs.patch
@@ -1,4 +1,3 @@
-diff --git a/init/initramfs.c b/init/initramfs.c
--- a/init/initramfs.c
+++ b/init/initramfs.c
@@ -475,6 +475,69 @@ static void __init flush_window(void)
@@ -71,7 +70,7 @@ diff --git a/init/initramfs.c b/init/initramfs.c
static char * __init unpack_to_rootfs(char *buf, unsigned len, int check_only)
{
int written;
-@@ -509,12 +572,28 @@ static char * __init unpack_to_rootfs(char *buf, unsigned len, int check_only)
+@@ -509,12 +572,28 @@ static char * __init unpack_to_rootfs(ch
inptr = 0;
outcnt = 0; /* bytes in output buffer */
bytes_out = 0;
@@ -105,7 +104,6 @@ diff --git a/init/initramfs.c b/init/initramfs.c
buf += inptr;
len -= inptr;
}
-diff --git a/scripts/gen_initramfs_list.sh b/scripts/gen_initramfs_list.sh
--- a/scripts/gen_initramfs_list.sh
+++ b/scripts/gen_initramfs_list.sh
@@ -287,7 +287,7 @@ if [ ! -z ${output_file} ]; then