diff options
author | Thomas Huth <thuth@redhat.com> | 2019-04-07 14:55:09 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2019-04-10 17:48:28 +0200 |
commit | 81a8f2beb32a5951ecf04385301f50879abc092b (patch) | |
tree | 0f9b905dc07a0a021540db9c4efd4d99e9515454 /drivers/s390/cio/cio.h | |
parent | dccbbaff174df174bb30c21e05d7b732d013ea1a (diff) | |
download | linux-81a8f2beb32a5951ecf04385301f50879abc092b.tar.gz linux-81a8f2beb32a5951ecf04385301f50879abc092b.tar.bz2 linux-81a8f2beb32a5951ecf04385301f50879abc092b.zip |
s390/mm: silence compiler warning when compiling without CONFIG_PGSTE
If CONFIG_PGSTE is not set (e.g. when compiling without KVM), GCC complains:
CC arch/s390/mm/pgtable.o
arch/s390/mm/pgtable.c:413:15: warning: ‘pmd_alloc_map’ defined but not
used [-Wunused-function]
static pmd_t *pmd_alloc_map(struct mm_struct *mm, unsigned long addr)
^~~~~~~~~~~~~
Wrap the function with "#ifdef CONFIG_PGSTE" to silence the warning.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/cio.h')
0 files changed, 0 insertions, 0 deletions