Преглед на файлове

Just take whatever the kernel headers gave us, spaces and all. This is
to accomodate arm, where rmk has made the syscall numbers be very very
strangely setup,
-Erik

Eric Andersen преди 24 години
родител
ревизия
445db497a2
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      extra/scripts/gen_bits_syscall_h.sh

+ 1 - 1
extra/scripts/gen_bits_syscall_h.sh

@@ -19,7 +19,7 @@ $CC -E - |
   echo "#ifndef _SYSCALL_H" ;
   echo "# error \"Never use <bits/syscall.h> directly; include <sys/syscall.h> instead.\"" ;
   echo "#endif" ; echo ;
-  sed -ne 's/^UCLIBC_\([A-Za-z0-9_]*\) *\([^ ]*\)/#define SYS_\1 \2\
+  sed -ne 's/^UCLIBC_\([A-Za-z0-9_]*\) *\(.*\)/#define SYS_\1 \2\
 #define __NR_\1 \2\
 #define __STR_NR_\1 \"\2\"/gp'
 )