Re: [PATCH 14/31] mips/kvm: Add thread_info flag to indicate operation in MIPS VZ Guest Mode.

2013-06-14 Thread Ralf Baechle
Acked-by: Ralf Baechle r...@linux-mips.org

  Ralf
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 14/31] mips/kvm: Add thread_info flag to indicate operation in MIPS VZ Guest Mode.

2013-06-07 Thread David Daney
From: David Daney david.da...@cavium.com

Signed-off-by: David Daney david.da...@cavium.com
---
 arch/mips/include/asm/thread_info.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/mips/include/asm/thread_info.h 
b/arch/mips/include/asm/thread_info.h
index 895320e..a7a894a 100644
--- a/arch/mips/include/asm/thread_info.h
+++ b/arch/mips/include/asm/thread_info.h
@@ -109,6 +109,7 @@ static inline struct thread_info *current_thread_info(void)
 #define TIF_RESTORE_SIGMASK9   /* restore signal mask in do_signal() */
 #define TIF_USEDFPU16  /* FPU was used by this task this 
quantum (SMP) */
 #define TIF_MEMDIE 18  /* is terminating due to OOM killer */
+#define TIF_GUESTMODE  19  /* If set, running in VZ Guest mode. */
 #define TIF_FIXADE 20  /* Fix address errors in software */
 #define TIF_LOGADE 21  /* Log address errors to syslog */
 #define TIF_32BIT_REGS 22  /* also implies 16/32 fprs */
@@ -124,6 +125,7 @@ static inline struct thread_info *current_thread_info(void)
 #define _TIF_SECCOMP   (1TIF_SECCOMP)
 #define _TIF_NOTIFY_RESUME (1TIF_NOTIFY_RESUME)
 #define _TIF_USEDFPU   (1TIF_USEDFPU)
+#define _TIF_GUESTMODE (1TIF_GUESTMODE)
 #define _TIF_FIXADE(1TIF_FIXADE)
 #define _TIF_LOGADE(1TIF_LOGADE)
 #define _TIF_32BIT_REGS(1TIF_32BIT_REGS)
-- 
1.7.11.7

--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html