summaryrefslogtreecommitdiff
path: root/arch/arc/include/asm/atomic.h
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2015-08-05 11:12:00 +0530
committerVineet Gupta <vgupta@synopsys.com>2015-08-05 11:48:21 +0530
commit87ce62802f7a3553234ebf1ae7cd52c8bf272fb9 (patch)
tree05cf0987ec30adfd5661e1dee2a1d16f0d4ff988 /arch/arc/include/asm/atomic.h
parentb89aa12c177477e34caa722818536fb5d0bffd76 (diff)
ARC: Make pt_regs regs unsigned
KGDB fails to build after f51e2f191112 ("ARC: make sure instruction_pointer() returns unsigned value") The hack to force one specific reg to unsigned backfired. There's no reason to keep the regs signed after all. | CC arch/arc/kernel/kgdb.o |../arch/arc/kernel/kgdb.c: In function 'kgdb_trap': | ../arch/arc/kernel/kgdb.c:180:29: error: lvalue required as left operand of assignment | instruction_pointer(regs) -= BREAK_INSTR_SIZE; Reported-by: Yuriy Kolerov <yuriy.kolerov@synopsys.com> Fixes: f51e2f191112 ("ARC: make sure instruction_pointer() returns unsigned value") Cc: Alexey Brodkin <abrodkin@synopsys.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/include/asm/atomic.h')
0 files changed, 0 insertions, 0 deletions