If bit waitqueue is passed a virtual address then it must use
vmalloc_to_page instead of virt_to_page to get to the page struct.
Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]>
---
kernel/wait.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6/kernel/wait.c
===
On Wed, 19 Sep 2007, Gabriel C wrote:
> Christoph Lameter wrote:
>
> >
> > + if (is_vmalloc_addr(word))
> > + page = vmalloc_to_page(word)
> ^^
> Missing ' ; '
Argh. Late beautification attempts are backfiring
-
To unsubscribe from this
Christoph Lameter wrote:
>
> + if (is_vmalloc_addr(word))
> + page = vmalloc_to_page(word)
^^
Missing ' ; '
> + else
> + page = virt_to_page(word);
> +
> + zone = page_zone(page);
> return &zone->wait_table[ha
If bit waitqueue is passed a virtual address then it must use
vmalloc_to_page instead of virt_to_page to get to the page struct.
Signed-off-by: Christoph Lameter <[EMAIL PROTECTED]>
---
kernel/wait.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
Index: linux-2.6/kernel/wait.
4 matches
Mail list logo