lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 21 Nov 2017 08:02:41 -0800 (PST)
From:   Palmer Dabbelt <palmer@...ive.com>
To:     Christoph Hellwig <hch@...radead.org>
CC:     linux-kernel@...r.kernel.org, patches@...ups.riscv.org
Subject:     Re: RISC-V: User-Visible ABI Cleanup

On Tue, 21 Nov 2017 07:58:29 PST (-0800), Christoph Hellwig wrote:
> While we're at cleanups, I don't think arch/riscv/kernel/sys_riscv.c
> needs to include <asm/cmpxchg.h> for the mmap syscall stubs.

Thanks.

commit b43b17317dad57739721d459d7ab50f78432750b
Author: Palmer Dabbelt <palmer@...ive.com>
Date:   Tue Nov 21 07:59:28 2017 -0800

    RISC-V: Clean up an unused include

    We used to have some cmpxchg syscalls.  They're no longer there, so we
    no longer need the include.

    CC: Christoph Hellwig <hch@...radead.org>
    Signed-off-by: Palmer Dabbelt <palmer@...ive.com>

diff --git a/arch/riscv/kernel/sys_riscv.c b/arch/riscv/kernel/sys_riscv.c
index c6c037eabaf6..a2ae936a093e 100644
--- a/arch/riscv/kernel/sys_riscv.c
+++ b/arch/riscv/kernel/sys_riscv.c
@@ -14,7 +14,6 @@
  */

 #include <linux/syscalls.h>
-#include <asm/cmpxchg.h>
 #include <asm/unistd.h>
 #include <asm/cacheflush.h>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ