Commit 76719163 authored by Valdis Kletnieks's avatar Valdis Kletnieks Committed by Linus Torvalds

[PATCH] #ifdef cleanup for sh64

Another small cleanup patch for #if/#ifdef usage.

Signed-off-by: <valdis.kletnieks@vt.edu>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 0e30a0e2
...@@ -901,7 +901,7 @@ unsigned long get_wchan(struct task_struct *p) ...@@ -901,7 +901,7 @@ unsigned long get_wchan(struct task_struct *p)
*/ */
pc = thread_saved_pc(p); pc = thread_saved_pc(p);
#if CONFIG_FRAME_POINTER #ifdef CONFIG_FRAME_POINTER
if (in_sh64_switch_to(pc)) { if (in_sh64_switch_to(pc)) {
sh64_switch_to_fp = (long) p->thread.sp; sh64_switch_to_fp = (long) p->thread.sp;
/* r14 is saved at offset 4 in the sh64_switch_to frame */ /* r14 is saved at offset 4 in the sh64_switch_to frame */
......
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