Re: [patch 27/34] s390: Use generic idle loop

Heiko Carstens
2013-03-23T09:39:51Z

On Thu, Mar 21, 2013 at 09:53:18PM -0000, Thomas Gleixner wrote:
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
> ---
> arch/s390/kernel/process.c | 25 +++++++------------------
> arch/s390/kernel/smp.c | 3 +--
> 2 files changed, 8 insertions(+), 20 deletions(-)

FWIW, the patch below is also needed to fix a compile error.
I'll take care it gets upstream independently of your work.

>From 10c8cd5139f9a18cd6e955793ae7ad0877b5dd86 Mon Sep 17 00:00:00 2001
From: Heiko Carstens <heiko.carstens@de.ibm.com>
Date: Sat, 23 Mar 2013 10:29:01 +0100
Subject: [PATCH 2/2] s390/mm: provide emtpy check_pgt_cache() function

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@de.ibm.com>
---
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