.. | .. |
---|
26 | 26 | reiserfs-objs += xattr_acl.o |
---|
27 | 27 | endif |
---|
28 | 28 | |
---|
29 | | -# gcc -O2 (the kernel default) is overaggressive on ppc32 when many inline |
---|
30 | | -# functions are used. This causes the compiler to advance the stack |
---|
31 | | -# pointer out of the available stack space, corrupting kernel space, |
---|
32 | | -# and causing a panic. Since this behavior only affects ppc32, this ifeq |
---|
33 | | -# will work around it. If any other architecture displays this behavior, |
---|
34 | | -# add it here. |
---|
35 | | -ccflags-$(CONFIG_PPC32) := $(call cc-ifversion, -lt, 0400, -O1) |
---|
36 | | - |
---|
37 | 29 | TAGS: |
---|
38 | 30 | etags *.c |
---|
39 | | - |
---|