summaryrefslogtreecommitdiff
path: root/fs/splice.c
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2008-04-09 19:04:07 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-09 18:38:08 -0700
commitf4be31ec9690cfe6e94fcbed6ae60a6a38b3c3ed (patch)
treecb2e3ce144808fff867d043c58117f30cdf4c1f9 /fs/splice.c
parent44cad261025c04327fd7e847a7088fd3031b0c3e (diff)
pop previous section in alternative.c
gcc expects all toplevel assembly to return to the original section type. The code in alteranative.c does not do this. This caused some strange bugs in sched-devel where code would end up in the .rodata section and when the kernel sets the NX bit on all .rodata, the kernel would crash when executing this code. This patch adds a .previous marker to return the code back to the original section. Credit goes to Andrew Pinski for telling me it wasn't a gcc bug but a bug in the toplevel asm code in the kernel. ;-) Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/splice.c')
0 files changed, 0 insertions, 0 deletions