Commit bdf03e59 authored by Andrea Gelmini's avatar Andrea Gelmini Committed by Chris Metcalf

Fix typo

Signed-off-by: default avatarAndrea Gelmini <andrea.gelmini@gelma.net>
Signed-off-by: default avatarChris Metcalf <cmetcalf@mellanox.com>
parent 94ceaf38
...@@ -188,7 +188,7 @@ static void find_regs(tilegx_bundle_bits bundle, uint64_t *rd, uint64_t *ra, ...@@ -188,7 +188,7 @@ static void find_regs(tilegx_bundle_bits bundle, uint64_t *rd, uint64_t *ra,
* Parse fault bundle, find potential used registers and mark * Parse fault bundle, find potential used registers and mark
* corresponding bits in reg_map and alias_map. These 2 bit maps * corresponding bits in reg_map and alias_map. These 2 bit maps
* are used to find the scratch registers and determine if there * are used to find the scratch registers and determine if there
* is register alais. * is register alias.
*/ */
if (bundle & TILEGX_BUNDLE_MODE_MASK) { /* Y Mode Bundle. */ if (bundle & TILEGX_BUNDLE_MODE_MASK) { /* Y Mode Bundle. */
...@@ -1529,7 +1529,7 @@ void do_unaligned(struct pt_regs *regs, int vecnum) ...@@ -1529,7 +1529,7 @@ void do_unaligned(struct pt_regs *regs, int vecnum)
} }
/* Read the bundle casued the exception! */ /* Read the bundle caused the exception! */
pc = (tilegx_bundle_bits __user *)(regs->pc); pc = (tilegx_bundle_bits __user *)(regs->pc);
if (get_user(bundle, pc) != 0) { if (get_user(bundle, pc) != 0) {
/* Probably never be here since pc is valid user address.*/ /* Probably never be here since pc is valid user address.*/
......
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