Loading arch/powerpc/Makefile +5 −0 Original line number Diff line number Diff line Loading @@ -116,6 +116,11 @@ ifeq ($(CONFIG_6xx),y) KBUILD_CFLAGS += -mcpu=powerpc endif # Work around a gcc code-gen bug with -fno-omit-frame-pointer. ifeq ($(CONFIG_FTRACE),y) KBUILD_CFLAGS += -mno-sched-epilog endif cpu-as-$(CONFIG_4xx) += -Wa,-m405 cpu-as-$(CONFIG_6xx) += -Wa,-maltivec cpu-as-$(CONFIG_POWER4) += -Wa,-maltivec Loading arch/powerpc/include/asm/pgtable-ppc64.h +2 −4 Original line number Diff line number Diff line Loading @@ -153,12 +153,10 @@ #define __S110 PAGE_SHARED_X #define __S111 PAGE_SHARED_X #ifdef CONFIG_HUGETLB_PAGE #ifdef CONFIG_PPC_MM_SLICES #define HAVE_ARCH_UNMAPPED_AREA #define HAVE_ARCH_UNMAPPED_AREA_TOPDOWN #endif #endif /* CONFIG_PPC_MM_SLICES */ #ifndef __ASSEMBLY__ Loading arch/powerpc/kernel/Makefile +4 −3 Original line number Diff line number Diff line Loading @@ -14,12 +14,13 @@ endif ifdef CONFIG_FTRACE # Do not trace early boot code CFLAGS_REMOVE_cputable.o = -pg CFLAGS_REMOVE_prom_init.o = -pg CFLAGS_REMOVE_cputable.o = -pg -mno-sched-epilog CFLAGS_REMOVE_prom_init.o = -pg -mno-sched-epilog CFLAGS_REMOVE_btext.o = -pg -mno-sched-epilog ifdef CONFIG_DYNAMIC_FTRACE # dynamic ftrace setup. CFLAGS_REMOVE_ftrace.o = -pg CFLAGS_REMOVE_ftrace.o = -pg -mno-sched-epilog endif endif Loading arch/powerpc/kernel/align.c +1 −1 Original line number Diff line number Diff line Loading @@ -647,7 +647,7 @@ static int emulate_vsx(unsigned char __user *addr, unsigned int reg, unsigned int flags, unsigned int length) { char *ptr = (char *) ¤t->thread.TS_FPR(reg); int ret; int ret = 0; flush_vsx_to_thread(current); Loading arch/powerpc/kernel/idle_6xx.S +1 −1 Original line number Diff line number Diff line Loading @@ -158,7 +158,7 @@ _GLOBAL(power_save_ppc32_restore) stw r9,_NIP(r11) /* make it do a blr */ #ifdef CONFIG_SMP mfspr r12,SPRN_SPRG3 rlwinm r12,r11,0,0,31-THREAD_SHIFT lwz r11,TI_CPU(r12) /* get cpu number * 4 */ slwi r11,r11,2 #else Loading Loading
arch/powerpc/Makefile +5 −0 Original line number Diff line number Diff line Loading @@ -116,6 +116,11 @@ ifeq ($(CONFIG_6xx),y) KBUILD_CFLAGS += -mcpu=powerpc endif # Work around a gcc code-gen bug with -fno-omit-frame-pointer. ifeq ($(CONFIG_FTRACE),y) KBUILD_CFLAGS += -mno-sched-epilog endif cpu-as-$(CONFIG_4xx) += -Wa,-m405 cpu-as-$(CONFIG_6xx) += -Wa,-maltivec cpu-as-$(CONFIG_POWER4) += -Wa,-maltivec Loading
arch/powerpc/include/asm/pgtable-ppc64.h +2 −4 Original line number Diff line number Diff line Loading @@ -153,12 +153,10 @@ #define __S110 PAGE_SHARED_X #define __S111 PAGE_SHARED_X #ifdef CONFIG_HUGETLB_PAGE #ifdef CONFIG_PPC_MM_SLICES #define HAVE_ARCH_UNMAPPED_AREA #define HAVE_ARCH_UNMAPPED_AREA_TOPDOWN #endif #endif /* CONFIG_PPC_MM_SLICES */ #ifndef __ASSEMBLY__ Loading
arch/powerpc/kernel/Makefile +4 −3 Original line number Diff line number Diff line Loading @@ -14,12 +14,13 @@ endif ifdef CONFIG_FTRACE # Do not trace early boot code CFLAGS_REMOVE_cputable.o = -pg CFLAGS_REMOVE_prom_init.o = -pg CFLAGS_REMOVE_cputable.o = -pg -mno-sched-epilog CFLAGS_REMOVE_prom_init.o = -pg -mno-sched-epilog CFLAGS_REMOVE_btext.o = -pg -mno-sched-epilog ifdef CONFIG_DYNAMIC_FTRACE # dynamic ftrace setup. CFLAGS_REMOVE_ftrace.o = -pg CFLAGS_REMOVE_ftrace.o = -pg -mno-sched-epilog endif endif Loading
arch/powerpc/kernel/align.c +1 −1 Original line number Diff line number Diff line Loading @@ -647,7 +647,7 @@ static int emulate_vsx(unsigned char __user *addr, unsigned int reg, unsigned int flags, unsigned int length) { char *ptr = (char *) ¤t->thread.TS_FPR(reg); int ret; int ret = 0; flush_vsx_to_thread(current); Loading
arch/powerpc/kernel/idle_6xx.S +1 −1 Original line number Diff line number Diff line Loading @@ -158,7 +158,7 @@ _GLOBAL(power_save_ppc32_restore) stw r9,_NIP(r11) /* make it do a blr */ #ifdef CONFIG_SMP mfspr r12,SPRN_SPRG3 rlwinm r12,r11,0,0,31-THREAD_SHIFT lwz r11,TI_CPU(r12) /* get cpu number * 4 */ slwi r11,r11,2 #else Loading