]> git.baikalelectronics.ru Git - kernel.git/commit
metag: make TXPRIVEXT bits explicit
authorJames Hogan <james.hogan@imgtec.com>
Thu, 31 Jan 2013 13:27:35 +0000 (13:27 +0000)
committerJames Hogan <james.hogan@imgtec.com>
Sat, 2 Mar 2013 20:09:58 +0000 (20:09 +0000)
commitdac51c289e8c375513235380ab6ea7186204d7ff
treead3a653e8ce81536a9d2d57976f09a2211de4d80
parent3f84a026d70609da21ba4a9b75c4e44174d321e0
metag: make TXPRIVEXT bits explicit

Define PRIV_BITS using explicit constants from <asm/metag_regs.h> rather
than with a hard coded value. This also adds a couple of missing
definitions for the TXPRIVEXT priv bits for protecting writes to TXTIMER
and the trace registers.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
arch/metag/include/asm/metag_regs.h
arch/metag/kernel/setup.c