]> git.karo-electronics.de Git - karo-tx-linux.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>
Fri, 8 Feb 2013 09:53:11 +0000 (09:53 +0000)
commit076d2510478fdd5dbb736fe0267640214eddf3e9
tree48db59fcb11ffd657adec2098eb49627292ddb23
parent9d03ff148a72a889469c66371b83ba58909d623f
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