Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 375570
b: refs/heads/master
c: 5d1c574
h: refs/heads/master
v: v3
  • Loading branch information
Li Zhong authored and Benjamin Herrenschmidt committed May 14, 2013
1 parent f07f4bd commit f141115
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 106ed886abc46723c290e82e5f161d9b40820203
refs/heads/master: 5d1c57451154047ab31aadfbc712bb8aa174bfb3
10 changes: 10 additions & 0 deletions trunk/arch/powerpc/include/asm/context_tracking.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#ifndef _ASM_POWERPC_CONTEXT_TRACKING_H
#define _ASM_POWERPC_CONTEXT_TRACKING_H

#ifdef CONFIG_CONTEXT_TRACKING
#define SCHEDULE_USER bl .schedule_user
#else
#define SCHEDULE_USER bl .schedule
#endif

#endif
3 changes: 2 additions & 1 deletion trunk/arch/powerpc/kernel/entry_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include <asm/irqflags.h>
#include <asm/ftrace.h>
#include <asm/hw_irq.h>
#include <asm/context_tracking.h>

/*
* System calls.
Expand Down Expand Up @@ -632,7 +633,7 @@ _GLOBAL(ret_from_except_lite)
andi. r0,r4,_TIF_NEED_RESCHED
beq 1f
bl .restore_interrupts
bl .schedule
SCHEDULE_USER
b .ret_from_except_lite

1: bl .save_nvgprs
Expand Down

0 comments on commit f141115

Please sign in to comment.