Fix broken go:nosplit directive

There must be no space in "//go:nosplit". This probably never
caused problems because the function is so simple it is almost
certainly inlined.

PiperOrigin-RevId: 464823961
This commit is contained in:
Michael Pratt
2022-08-02 10:22:33 -07:00
committed by gVisor bot
parent dac6639a3b
commit 2513787d6d
+1 -1
View File
@@ -102,7 +102,7 @@ const (
// IsKernelFlags returns true if rflags coresponds to the kernel mode.
//
// go:nosplit
//go:nosplit
func IsKernelFlags(rflags uint64) bool {
return rflags&_RFLAGS_IOPL0 == 0
}