diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2018-05-08 21:41:40 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2018-05-08 21:56:04 +0200 |
commit | 26dbe52fb2608720dfc1180651566ad0530e920f (patch) | |
tree | 4eec5c49b10fecccb50088b3effcafb0769d5f69 | |
parent | 40e9fbe8d5e5a8b4e58c8fceb0a04724fda532d1 (diff) |
linux: add microblaze patch
-rw-r--r-- | mk/image.mk | 1 | ||||
-rw-r--r-- | target/linux/patches/4.14.39/microblaze-sigaltstack.patch | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/mk/image.mk b/mk/image.mk index 5f4906d2b..32b32bb6d 100644 --- a/mk/image.mk +++ b/mk/image.mk @@ -231,6 +231,7 @@ createinitramfs: ${STAGING_TARGET_DIR}/${INITRAMFS}_list echo '# CONFIG_CRC32_SLICEBY8 is not set'; \ echo '# CONFIG_CRC32_SLICEBY4 is not set'; \ echo '# CONFIG_CRC32_SARWATE is not set'; \ + echo 'CONFIG_INITRAMFS_FORCE=n'; \ echo 'CONFIG_INITRAMFS_ROOT_UID=0'; \ echo 'CONFIG_INITRAMFS_ROOT_GID=0'; \ echo 'CONFIG_INITRAMFS_IS_LARGE=n'; \ diff --git a/target/linux/patches/4.14.39/microblaze-sigaltstack.patch b/target/linux/patches/4.14.39/microblaze-sigaltstack.patch new file mode 100644 index 000000000..80413890a --- /dev/null +++ b/target/linux/patches/4.14.39/microblaze-sigaltstack.patch @@ -0,0 +1,12 @@ +diff -Nur linux-4.14.39.orig/arch/microblaze/kernel/syscall_table.S linux-4.14.39/arch/microblaze/kernel/syscall_table.S +--- linux-4.14.39.orig/arch/microblaze/kernel/syscall_table.S 2018-05-01 21:58:27.000000000 +0200 ++++ linux-4.14.39/arch/microblaze/kernel/syscall_table.S 2018-05-06 21:16:14.830349827 +0200 +@@ -187,7 +187,7 @@ + .long sys_getcwd + .long sys_capget + .long sys_capset /* 185 */ +- .long sys_ni_syscall /* sigaltstack */ ++ .long sys_sigaltstack + .long sys_sendfile + .long sys_ni_syscall /* reserved for streams1 */ + .long sys_ni_syscall /* reserved for streams2 */ |