diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2010-03-03 18:06:30 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-03-07 17:33:13 +0100 |
commit | fb301a41bcc424d7fb704fe2b67ac893f78ba2a9 (patch) | |
tree | ffb085f457478b1f6508ba6de7a1b1f333d35d38 | |
parent | 68739f5e9877339df2594733538e62939bd50cf0 (diff) | |
download | linux-rt-fb301a41bcc424d7fb704fe2b67ac893f78ba2a9.tar.gz |
mm: highmem: Fix stale BUG_ON condition
Fixup the leftover of the highmem rewrite.
Reported-by: Fernando Lopez-Lezcano <nando@ccrma.stanford.edu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | mm/highmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/highmem.c b/mm/highmem.c index 1b534a86cd7e..887a487653ca 100644 --- a/mm/highmem.c +++ b/mm/highmem.c @@ -531,7 +531,7 @@ static int __set_page_address(struct page *page, void *virtual, int pos) struct page_address_map *pam; VM_BUG_ON(!PageHighMem(page)); - VM_BUG_ON(atomic_read(&pkmap_count[pos]) != 0); + VM_BUG_ON(atomic_read(&pkmap[pos].count) != 0); VM_BUG_ON(pos < 0 || pos >= LAST_PKMAP); pas = page_slot(page); |