Skip to content

Commit

Permalink
add loongarch support
Browse files Browse the repository at this point in the history
  • Loading branch information
hanjianju authored and andikleen committed Nov 16, 2021
1 parent 54963a8 commit a5a429c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions syscall.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,16 @@
#define __NR_move_pages xxx
*/

#elif defined(__loongarch__)

//reference to /usr/include/asm-generic/unistd.h

#define __NR_mbind 235
#define __NR_get_mempolicy 236
#define __NR_set_mempolicy 237
#define __NR_migrate_pages 238
#define __NR_move_pages 239

#elif defined(__mips__)

#if _MIPS_SIM == _ABIO32
Expand Down

0 comments on commit a5a429c

Please sign in to comment.