]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - arch/powerpc/include/asm/cache.h
powerpc/64s: Reduce exception alignment
[mirror_ubuntu-zesty-kernel.git] / arch / powerpc / include / asm / cache.h
index ffbafbf76b193a28338d8721e22c63644c55ec35..7657aa897a38e5382d64a4d7504abb50c95ea723 100644 (file)
 #endif
 #else /* CONFIG_PPC64 */
 #define L1_CACHE_SHIFT         7
+#define IFETCH_ALIGN_SHIFT     4 /* POWER8,9 */
 #endif
 
 #define        L1_CACHE_BYTES          (1 << L1_CACHE_SHIFT)
 
 #define        SMP_CACHE_BYTES         L1_CACHE_BYTES
 
+#define IFETCH_ALIGN_BYTES     (1 << IFETCH_ALIGN_SHIFT)
+
 #if defined(__powerpc64__) && !defined(__ASSEMBLY__)
 struct ppc64_caches {
        u32     dsize;                  /* L1 d-cache size */