# Re: \[PATCH\] pci\_alloc\_consistent in an interrupt context

- From: Paul Mackerras \<hidden\>
- Date: 2002-06-13 23:37:59 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2002/06/9383557
- Thread: https://ratatoskr.run/linuxppc-dev/2002/06/9383547/t.md

```text

If we are going to be calling get_vm_area from interrupt context we
need to change the write_lock/write_unlock calls to write_lock_irqsave
and write_unlock_irqrestore.

Paul.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
```
