mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
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:
committed by
gVisor bot
parent
dac6639a3b
commit
2513787d6d
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user