]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
gpio-pch: Use NUMA_NO_NODE not GFP_KERNEL
authorTomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com>
Wed, 19 Oct 2011 01:37:39 +0000 (10:37 +0900)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 20 Oct 2011 01:01:29 +0000 (19:01 -0600)
commit2824bc9c38dcb9a3e8f2d72a6ede8563c222959f
tree5e340e0b716bfe6138174e5c06bad6e73ac8c3f7
parent8c0f7b10f1028d0bc78486affe2ccf39cdf45282
gpio-pch: Use NUMA_NO_NODE not GFP_KERNEL

Currently, GFP_KERNEL is used as parameter of irq_alloc_descs like below.

          irq_base = irq_alloc_descs(-1, IOH_IRQ_BASE, num_ports[j],
                                     GFP_KERNEL);

This is not true.
So, this patch uses NUMA_NO_NODE not GFP_KERNEL.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reported-by: David Rientjes <rientjes@google.com>
Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpio-pch.c