diff options
author | Jan Glauber <jang@linux.vnet.ibm.com> | 2008-08-01 16:39:17 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-08-01 16:39:34 +0200 |
commit | 3b8e3004aea95c687e8991583e7b150ec1416ff3 (patch) | |
tree | 61a4ccda07eac7e71f1e3dbf98694dc3c020b48f /drivers/s390/cio/qdio_setup.c | |
parent | [S390] Add support for memory hot-remove. (diff) | |
download | linux-3b8e3004aea95c687e8991583e7b150ec1416ff3.tar.xz linux-3b8e3004aea95c687e8991583e7b150ec1416ff3.zip |
[S390] qdio: make sure qdr is aligned to page size
kzalloc does not guarantee the required alignment of qdr to page size,
use get_zeroed_page instead.
Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Diffstat (limited to 'drivers/s390/cio/qdio_setup.c')
-rw-r--r-- | drivers/s390/cio/qdio_setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/qdio_setup.c b/drivers/s390/cio/qdio_setup.c index f0923a8aceda..56fdd57ba192 100644 --- a/drivers/s390/cio/qdio_setup.c +++ b/drivers/s390/cio/qdio_setup.c @@ -325,7 +325,7 @@ void qdio_release_memory(struct qdio_irq *irq_ptr) kmem_cache_free(qdio_q_cache, q); } } - kfree(irq_ptr->qdr); + free_page((unsigned long) irq_ptr->qdr); free_page(irq_ptr->chsc_page); free_page((unsigned long) irq_ptr); } |