diff options
author | Timur Tabi <timur@freescale.com> | 2011-10-31 13:30:41 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-11-08 08:30:57 -0600 |
commit | 5c4a3d431e57c6eb9a7663905f47724fbf1f04dd (patch) | |
tree | 6bad7600a9f759bd251ed48523bb226c39469c6b /arch/powerpc/include/asm/fsl_lbc.h | |
parent | d37012289df80f3907a54bb01ffc38a394fa0766 (diff) |
powerpc/85xx: fix definition of MAS register macros
Some of the MAS register macros do not protect the parameter with
parentheses, which could cause wrong values if the parameter includes
operators.
Also fix the definition of TSIZE_TO_BYTES() so that it actually uses
the parameter. This hasn't caused any problems to date because the
parameter was always been 'tsize'.
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/fsl_lbc.h')
0 files changed, 0 insertions, 0 deletions