summaryrefslogtreecommitdiffstats
path: root/fs/hfsplus
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2008-04-10 01:04:07 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-10 03:38:08 +0200
commitf4be31ec9690cfe6e94fcbed6ae60a6a38b3c3ed (patch)
treecb2e3ce144808fff867d043c58117f30cdf4c1f9 /fs/hfsplus
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmo... (diff)
downloadlinux-f4be31ec9690cfe6e94fcbed6ae60a6a38b3c3ed.tar.xz
linux-f4be31ec9690cfe6e94fcbed6ae60a6a38b3c3ed.zip
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/hfsplus')
0 files changed, 0 insertions, 0 deletions