microblaze: Correct PVR access macros
authorroel kluin <roel.kluin@gmail.com>
Sat, 1 Jan 2011 17:17:45 +0000 (18:17 +0100)
committerMichal Simek <monstr@monstr.eu>
Mon, 3 Jan 2011 09:01:29 +0000 (10:01 +0100)
commit990dbcc6853a20af54703a27b54788ba49ed6372
treed610a8ecec49b0be30985e8532b10fe43c811e53
parent9da6345885e4f33437d74314f9db592da157d65d
microblaze: Correct PVR access macros

A definition like:

called with PVR_IS_FULL(foo) will be preprocessed to:

(foo.foo[0] & PVR0_PVR_FULL_MASK)
     ^^^
So to fix this and ensure the preprocessor compiles calls correctly:

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/include/asm/pvr.h