def NR_ioprio_set():
 architecture = os.uname()[4]
 arch_bits = platform.architecture()[0]
 if ((architecture == 'x86_64') and (arch_bits == '64bit')):
  return 251
 raise OSError(("Swift doesn't support ionice priority for %s %s" % (architecture, arch_bits)))

def NR_ioprio_set ( ) : architecture = os . uname ( ) [ 4 ] arch_bits = platform . architecture ( ) [ 0 ] if ( ( architecture == 'x86_64' ) and ( arch_bits == '64bit' ) ) : return 251 raise OSError ( ( "Swift doesn't support ionice priority for %s %s" % ( architecture , arch_bits ) ) )
give __nr_ioprio_set value for your system .