Blame view

kernel/linux-imx6_3.14.28/arch/x86/syscalls/syscalltbl.sh 327 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  #!/bin/sh
  
  in="$1"
  out="$2"
  
  grep '^[0-9]' "$in" | sort -n | (
      while read nr abi name entry compat; do
  	abi=`echo "$abi" | tr '[a-z]' '[A-Z]'`
  	if [ -n "$compat" ]; then
  	    echo "__SYSCALL_${abi}($nr, $entry, $compat)"
  	elif [ -n "$entry" ]; then
  	    echo "__SYSCALL_${abi}($nr, $entry, $entry)"
  	fi
      done
  ) > "$out"