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)
commitc787c2d62fe0c482f5fb3e5b869cd262fe69b244
treead3a653e8ce81536a9d2d57976f09a2211de4d80
parent82f0167aa4c4bbc06b5a2e1e83d252792f7c5754
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