diff options
| author | Felix Fietkau <nbd@nbd.name> | 2017-01-10 18:15:39 +0100 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2017-01-11 13:09:33 +0100 |
| commit | b7bee2858b582164d55c32be44df3fcb42cafc78 (patch) | |
| tree | d908808a56549ec42e1b269421fd1be2dbd57f45 /target/linux/generic/patches-4.1/060-mips_decompressor_memmove.patch | |
| parent | b1dbe6028eed57a89ae94c5e61e0b1e65f3aeb80 (diff) | |
| download | mtk-20170518-b7bee2858b582164d55c32be44df3fcb42cafc78.zip mtk-20170518-b7bee2858b582164d55c32be44df3fcb42cafc78.tar.gz mtk-20170518-b7bee2858b582164d55c32be44df3fcb42cafc78.tar.bz2 | |
kernel: remove linux 4.1 support
The only target still referencing it is omap24xx, and it is marked as
broken.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/generic/patches-4.1/060-mips_decompressor_memmove.patch')
| -rw-r--r-- | target/linux/generic/patches-4.1/060-mips_decompressor_memmove.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/target/linux/generic/patches-4.1/060-mips_decompressor_memmove.patch b/target/linux/generic/patches-4.1/060-mips_decompressor_memmove.patch deleted file mode 100644 index d215b80..0000000 --- a/target/linux/generic/patches-4.1/060-mips_decompressor_memmove.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/arch/mips/boot/compressed/string.c -+++ b/arch/mips/boot/compressed/string.c -@@ -26,3 +26,19 @@ void *memset(void *s, int c, size_t n) - ss[i] = c; - return s; - } -+ -+void *memmove(void *__dest, __const void *__src, size_t count) -+{ -+ unsigned char *d = __dest; -+ const unsigned char *s = __src; -+ -+ if (__dest == __src) -+ return __dest; -+ -+ if (__dest < __src) -+ return memcpy(__dest, __src, count); -+ -+ while (count--) -+ d[count] = s[count]; -+ return __dest; -+} |
