Message ID | 1372918546-15075-2-git-send-email-Bharat.Bhushan@freescale.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Scott Wood |
Headers | show |
Bharat Bhushan <r65777@freescale.com> wrote: > Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com> Acked-by: Michael Neuling <mikey@neuling.org> > --- > arch/powerpc/kernel/process.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c > index c517dbe..19b8733 100644 > --- a/arch/powerpc/kernel/process.c > +++ b/arch/powerpc/kernel/process.c > @@ -325,7 +325,7 @@ static void set_debug_reg_defaults(struct thread_struct *thread) > /* > * Force User/Supervisor bits to b11 (user-only MSR[PR]=1) > */ > - thread->dbcr1 = DBCR1_IAC1US | DBCR1_IAC2US | \ > + thread->dbcr1 = DBCR1_IAC1US | DBCR1_IAC2US | > DBCR1_IAC3US | DBCR1_IAC4US; > /* > * Force Data Address Compare User/Supervisor bits to be User-only > -- > 1.7.0.4 > >
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c index c517dbe..19b8733 100644 --- a/arch/powerpc/kernel/process.c +++ b/arch/powerpc/kernel/process.c @@ -325,7 +325,7 @@ static void set_debug_reg_defaults(struct thread_struct *thread) /* * Force User/Supervisor bits to b11 (user-only MSR[PR]=1) */ - thread->dbcr1 = DBCR1_IAC1US | DBCR1_IAC2US | \ + thread->dbcr1 = DBCR1_IAC1US | DBCR1_IAC2US | DBCR1_IAC3US | DBCR1_IAC4US; /* * Force Data Address Compare User/Supervisor bits to be User-only
Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com> --- arch/powerpc/kernel/process.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)