Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Signed-off-by: Chris Metcalf <cmetcalf@mellanox.com>
This commit is contained in:
Andrea Gelmini 2016-05-21 14:10:59 +02:00 коммит произвёл Chris Metcalf
Родитель 94ceaf381d
Коммит bdf03e59f8
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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)
} }
/* 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.*/