diff options
author | Jan Glauber <jang@linux.vnet.ibm.com> | 2011-08-03 10:44:18 -0400 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2011-08-03 10:44:19 -0400 |
commit | 944291de33b26a8b403f13f5eb0cc51fb982aa1e (patch) | |
tree | 44991379687cb125c5daab0ed987c3b01e2db5d4 /arch/s390 | |
parent | be8d97a540cec5d272b1e08e27741a3c3aa38f66 (diff) |
[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) | |||
528 | static inline unsigned long *page_table_alloc_pgste(struct mm_struct *mm, | 528 | static inline unsigned long *page_table_alloc_pgste(struct mm_struct *mm, |
529 | unsigned long vmaddr) | 529 | unsigned long vmaddr) |
530 | { | 530 | { |
531 | return NULL; | ||
531 | } | 532 | } |
532 | 533 | ||
533 | static inline void page_table_free_pgste(unsigned long *table) | 534 | static inline void page_table_free_pgste(unsigned long *table) |