Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 375208
b: refs/heads/master
c: 01be057
h: refs/heads/master
v: v3
  • Loading branch information
Douglas Leung authored and Ralf Baechle committed May 9, 2013
1 parent bc705d9 commit a2efa47
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 34c2f668d0f6b2ca1c076d8170d6cd4f2235a9d4
refs/heads/master: 01be057b33f52f094bff3a79a93d9ca99e27483d
9 changes: 9 additions & 0 deletions trunk/arch/mips/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include <asm/war.h>
#include <asm/vdso.h>
#include <asm/dsp.h>
#include <asm/inst.h>

#include "signal-common.h"

Expand Down Expand Up @@ -480,7 +481,15 @@ static void handle_signal(unsigned long sig, siginfo_t *info,
sigset_t *oldset = sigmask_to_save();
int ret;
struct mips_abi *abi = current->thread.abi;
#ifdef CONFIG_CPU_MICROMIPS
void *vdso;
unsigned int tmp = (unsigned int)current->mm->context.vdso;

set_isa16_mode(tmp);
vdso = (void *)tmp;
#else
void *vdso = current->mm->context.vdso;
#endif

if (regs->regs[0]) {
switch(regs->regs[2]) {
Expand Down

0 comments on commit a2efa47

Please sign in to comment.