Skip to content

Commit

Permalink
arm64: remove unnecessary duplication of constants in vfork.S.
Browse files Browse the repository at this point in the history
Test: treehugger
Change-Id: I41fd22bad0581269c88f5b3bb499735ab6ecafd2
  • Loading branch information
enh-google authored and Ghosuto committed Jul 1, 2023
1 parent 553d6fc commit b5eff79
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions libc/arch-arm64/bionic/vfork.S
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@
#include <platform/bionic/tls_defines.h>
#include <private/bionic_asm.h>
#include <asm/signal.h>

// Must match the defines in linux/sched.h
#define CLONE_VM 0x00000100
#define CLONE_VFORK 0x00004000
#include <linux/sched.h>

ENTRY(vfork)
__BIONIC_WEAK_ASM_FOR_NATIVE_BRIDGE(vfork)
Expand Down

0 comments on commit b5eff79

Please sign in to comment.