]> git.baikalelectronics.ru Git - kernel.git/commit
ARCv2: Enable LOCKDEP
authorEvgeny Voevodin <evgeny.voevodin@intel.com>
Wed, 23 Mar 2016 09:26:52 +0000 (12:26 +0300)
committerVineet Gupta <vgupta@synopsys.com>
Fri, 22 Apr 2016 12:42:31 +0000 (18:12 +0530)
commitaabcef1104bb1ae521b34b43d645f3b80b55ac04
tree0351ddfe5922e63ca60db11660d878f21f7de7f0
parent0b2ae9cd6e504d0f6c406655ebb9589e70455aa9
ARCv2: Enable LOCKDEP

- The asm helpers for calling into irq tracer were missing

- Add calls to above helpers in low level assembly entry code for ARCv2

- irq_save() uses CLRI to disable interrupts and returns the prev interrupt
  state (in STATUS32) in a specific encoding (and not the raw value of
  STATUS32). This is usable with SETI in irq_restore(). However
  save_flags() reads the raw value of STATUS32 which doesn't pair with
  irq_save/restore() and thus needs fixing.

Signed-off-by: Evgeny Voevodin <evgeny.voevodin@intel.com>
[vgupta: updated changelog and also added some comments]
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/irqflags-arcv2.h
arch/arc/kernel/entry-arcv2.S
arch/arc/kernel/entry-compact.S