def bring_gpio_interrupt_into_userspace():  
try:<EOL><INDENT>with open(GPIO_INTERRUPT_DEVICE_VALUE):<EOL><INDENT>return<EOL><DEDENT><DEDENT>except IOError:<EOL><INDENT>with open(GPIO_EXPORT_FILE, '<STR_LIT:w>') as export_file:<EOL><INDENT>export_file.write(str(GPIO_INTERRUPT_PIN))<EOL><DEDENT>wait_until_file_exists(GPIO_INTERRUPT_DEVICE_VALUE)<EOL><DEDENT>
Bring the interrupt pin on the GPIO into Linux userspace.