Merge 408323581b ("Merge tag 'x86_sev_for_v6.11_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip") into android-mainline
Steps on the way to v6.11-rc1 Signed-off-by: Lee Jones <joneslee@google.com> Change-Id: I2687ed6ce46ba4b7397a6adb2a104c2c90fd975b
This commit is contained in:
@@ -33,7 +33,8 @@ ld-option = $(success,$(LD) -v $(1))
|
||||
|
||||
# $(as-instr,<instr>)
|
||||
# Return y if the assembler supports <instr>, n otherwise
|
||||
as-instr = $(success,printf "%b\n" "$(1)" | $(CC) $(CLANG_FLAGS) -Wa$(comma)--fatal-warnings -c -x assembler-with-cpp -o /dev/null -)
|
||||
as-instr = $(success,printf "%b\n" "$(1)" | $(CC) $(CLANG_FLAGS) $(2) -Wa$(comma)--fatal-warnings -c -x assembler-with-cpp -o /dev/null -)
|
||||
as-instr64 = $(as-instr,$(1),$(m64-flag))
|
||||
|
||||
# check if $(CC) and $(LD) exist
|
||||
$(error-if,$(failure,command -v $(CC)),C compiler '$(CC)' not found)
|
||||
|
||||
+16
-2
@@ -54,7 +54,7 @@ nxt=0
|
||||
|
||||
grep -E "^[0-9]+[[:space:]]+$abis" "$infile" | {
|
||||
|
||||
while read nr abi name native compat ; do
|
||||
while read nr abi name native compat noreturn; do
|
||||
|
||||
if [ $nxt -gt $nr ]; then
|
||||
echo "error: $infile: syscall table is not sorted or duplicates the same syscall number" >&2
|
||||
@@ -66,7 +66,21 @@ grep -E "^[0-9]+[[:space:]]+$abis" "$infile" | {
|
||||
nxt=$((nxt + 1))
|
||||
done
|
||||
|
||||
if [ -n "$compat" ]; then
|
||||
if [ "$compat" = "-" ]; then
|
||||
unset compat
|
||||
fi
|
||||
|
||||
if [ -n "$noreturn" ]; then
|
||||
if [ "$noreturn" != "noreturn" ]; then
|
||||
echo "error: $infile: invalid string \"$noreturn\" in 'noreturn' column"
|
||||
exit 1
|
||||
fi
|
||||
if [ -n "$compat" ]; then
|
||||
echo "__SYSCALL_COMPAT_NORETURN($nr, $native, $compat)"
|
||||
else
|
||||
echo "__SYSCALL_NORETURN($nr, $native)"
|
||||
fi
|
||||
elif [ -n "$compat" ]; then
|
||||
echo "__SYSCALL_WITH_COMPAT($nr, $native, $compat)"
|
||||
elif [ -n "$native" ]; then
|
||||
echo "__SYSCALL($nr, $native)"
|
||||
|
||||
Reference in New Issue
Block a user