]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - arch/powerpc/include/asm/paca.h
powerpc/powernv: Recover correct PACA on wakeup from a stop on P9 DD1
[mirror_ubuntu-zesty-kernel.git] / arch / powerpc / include / asm / paca.h
index 6a6792bb39fbc8616034732322bd497ed30c5961..be9ab143978c24f8879fdf1a281be4635f52e196 100644 (file)
@@ -44,6 +44,9 @@ extern unsigned int debug_smp_processor_id(void); /* from linux/smp.h */
 #define get_lppaca()   (get_paca()->lppaca_ptr)
 #define get_slb_shadow()       (get_paca()->slb_shadow_ptr)
 
+/* Maximum number of threads per core. */
+#define        MAX_SMT         8
+
 struct task_struct;
 
 /*
@@ -172,6 +175,11 @@ struct paca_struct {
        u8 thread_mask;
        /* Mask to denote subcore sibling threads */
        u8 subcore_sibling_mask;
+       /*
+        * Pointer to an array which contains pointer
+        * to the sibling threads' paca.
+        */
+       struct paca_struct **thread_sibling_pacas;
 #endif
 
 #ifdef CONFIG_PPC_BOOK3S_64