diff options
author | Michal Simek <monstr@monstr.eu> | 2012-10-09 03:43:08 -0400 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2012-12-13 08:38:52 -0500 |
commit | 4336bac52b85201cf92c775940ee70097471c4e2 (patch) | |
tree | edad2b3370b324e51140c78ce0a7a499a36b72f6 /arch/microblaze/kernel | |
parent | 6be35c700f742e911ecedd07fcc43d4439922334 (diff) |
microblaze: Remove BIP from childregs
Not necessary to use BIP for protection.
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/kernel')
-rw-r--r-- | arch/microblaze/kernel/process.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/process.c b/arch/microblaze/kernel/process.c index 40823fd1db0b..a5b74f729e5b 100644 --- a/arch/microblaze/kernel/process.c +++ b/arch/microblaze/kernel/process.c | |||
@@ -162,7 +162,6 @@ int copy_thread(unsigned long clone_flags, unsigned long usp, | |||
162 | * excepting for VM and UMS | 162 | * excepting for VM and UMS |
163 | * don't touch UMS , CARRY and cache bits | 163 | * don't touch UMS , CARRY and cache bits |
164 | * right now MSR is a copy of parent one */ | 164 | * right now MSR is a copy of parent one */ |
165 | childregs->msr |= MSR_BIP; | ||
166 | childregs->msr &= ~MSR_EIP; | 165 | childregs->msr &= ~MSR_EIP; |
167 | childregs->msr |= MSR_IE; | 166 | childregs->msr |= MSR_IE; |
168 | childregs->msr &= ~MSR_VM; | 167 | childregs->msr &= ~MSR_VM; |