Commit c5b063dd authored by Anton Blanchard's avatar Anton Blanchard

ppc64: Up the gcc inline limited, needed for gcc 3.1

ppc64: remove old copy_page, missed during pervious merge
parent 6687aa4c
...@@ -19,7 +19,7 @@ LINKFLAGS = -T arch/ppc64/vmlinux.lds -Bstatic \ ...@@ -19,7 +19,7 @@ LINKFLAGS = -T arch/ppc64/vmlinux.lds -Bstatic \
-e $(KERNELLOAD) -Ttext $(KERNELLOAD) -e $(KERNELLOAD) -Ttext $(KERNELLOAD)
CFLAGS := $(CFLAGS) -fsigned-char -msoft-float -pipe \ CFLAGS := $(CFLAGS) -fsigned-char -msoft-float -pipe \
-Wno-uninitialized -mminimal-toc -mtraceback=full \ -Wno-uninitialized -mminimal-toc -mtraceback=full \
-Wa,-mpower4 -Wa,-mpower4 -finline-limit-2000
CPP = $(CC) -E $(CFLAGS) CPP = $(CC) -E $(CFLAGS)
......
...@@ -265,24 +265,6 @@ _GLOBAL(__flush_dcache_icache) ...@@ -265,24 +265,6 @@ _GLOBAL(__flush_dcache_icache)
isync isync
blr blr
/*
* Copy a whole page. Assumes a 4096B page size.
*/
_GLOBAL(copy_page)
clrrdi r3,r3,12 /* Page align */
clrrdi r4,r4,12 /* Page align */
li r5,256
mtctr r5
addi r3,r3,-8
addi r4,r4,-8
1: ld r6,8(r4)
ldu r7,16(r4)
std r6,8(r3)
stdu r7,16(r3)
bdnz+ 1b
blr
/* /*
* I/O string operations * I/O string operations
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment