diff options
author | Jan Glauber <jang@linux.vnet.ibm.com> | 2011-08-03 16:44:18 +0200 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2011-08-03 16:44:19 +0200 |
commit | 944291de33b26a8b403f13f5eb0cc51fb982aa1e (patch) | |
tree | 44991379687cb125c5daab0ed987c3b01e2db5d4 /arch/s390 | |
parent | be8d97a540cec5d272b1e08e27741a3c3aa38f66 (diff) | |
download | kernel-common-944291de33b26a8b403f13f5eb0cc51fb982aa1e.tar.gz kernel-common-944291de33b26a8b403f13f5eb0cc51fb982aa1e.tar.bz2 kernel-common-944291de33b26a8b403f13f5eb0cc51fb982aa1e.zip |
[S390] missing return in page_table_alloc_pgste
Fix the following compile warning for !CONFIG_PGSTE:
CC arch/s390/mm/pgtable.o
arch/s390/mm/pgtable.c: In function ‘page_table_alloc_pgste’:
arch/s390/mm/pgtable.c:531:1: warning: no return statement in function returning non-void [-Wreturn-type]
Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/mm/pgtable.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/mm/pgtable.c b/arch/s390/mm/pgtable.c index 2adb23938a7f..4d1f2bce87b3 100644 --- a/arch/s390/mm/pgtable.c +++ b/arch/s390/mm/pgtable.c @@ -528,6 +528,7 @@ static inline void page_table_free_pgste(unsigned long *table) static inline unsigned long *page_table_alloc_pgste(struct mm_struct *mm, unsigned long vmaddr) { + return NULL; } static inline void page_table_free_pgste(unsigned long *table) |