[PATCH 2/2] s390/mm: provide emtpy check_pgt_cache() function

From: Heiko Carstens
Date: Sat Mar 23 2013 - 05:29:01 EST


All architectures need to provide a check_pgt_cache() function. The s390 one
got lost somewhere.
So reintroduce it to prevent future compile errors e.g. if Thomas Gleixner's
idle loop rework patches get merged.

Signed-off-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
---
arch/s390/include/asm/pgtable.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/s390/include/asm/pgtable.h b/arch/s390/include/asm/pgtable.h
index 4a29308..a11c773 100644
--- a/arch/s390/include/asm/pgtable.h
+++ b/arch/s390/include/asm/pgtable.h
@@ -1533,6 +1533,8 @@ extern int s390_enable_sie(void);
*/
#define pgtable_cache_init() do { } while (0)

+static inline void check_pgt_cache(void) { }
+
#include <asm-generic/pgtable.h>

#endif /* _S390_PAGE_H */
--
1.7.12.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/