diff options
| author | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2018-08-08 09:56:49 +0200 |
|---|---|---|
| committer | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2018-08-08 09:56:49 +0200 |
| commit | 4017c528ca9e0fda8eec87ec0cbc93fabfa53530 (patch) | |
| tree | ab7d831e3c61e638b62b57e09f7b31baac697b9c /target/linux/generic/pending-4.4/060-mips_decompressor_memmove.patch | |
| parent | e3ab280e47000aee3dc0ea916bcb656490e9839d (diff) | |
| download | mtk-20170518-4017c528ca9e0fda8eec87ec0cbc93fabfa53530.zip mtk-20170518-4017c528ca9e0fda8eec87ec0cbc93fabfa53530.tar.gz mtk-20170518-4017c528ca9e0fda8eec87ec0cbc93fabfa53530.tar.bz2 | |
kernel: remove linux 4.4 support
No targets are using it anymore
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/generic/pending-4.4/060-mips_decompressor_memmove.patch')
| -rw-r--r-- | target/linux/generic/pending-4.4/060-mips_decompressor_memmove.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/target/linux/generic/pending-4.4/060-mips_decompressor_memmove.patch b/target/linux/generic/pending-4.4/060-mips_decompressor_memmove.patch deleted file mode 100644 index d215b80..0000000 --- a/target/linux/generic/pending-4.4/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; -+} |
