diff options
author | Andi Kleen <ak@suse.de> | 2005-12-13 06:17:09 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-12-13 06:31:16 (GMT) |
commit | bf5421c309bb89e5106452bc840983b1b4754d61 (patch) | |
tree | dd1b97332a053197175b13a3fe7d62e568c6f3f1 /arch/x86_64/pci/mmconfig.c | |
parent | 5e9ef02ec00c70840661d174dc2f4862db471bb6 (diff) | |
download | linux-bf5421c309bb89e5106452bc840983b1b4754d61.tar.xz |
[PATCH] i386/x86-64: Don't call change_page_attr with a spinlock held
It's illegal because it can sleep.
Use a two step lookup scheme instead. First look up the vm_struct, then
change the direct mapping, then finally unmap it. That's ok because nobody
can change the particular virtual address range as long as the vm_struct is
still in the global list.
Also added some LinuxDoc documentation to iounmap.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64/pci/mmconfig.c')
0 files changed, 0 insertions, 0 deletions