diff options
author | 2013-01-24 16:26:35 +0000 | |
---|---|---|
committer | 2013-02-15 23:07:38 +0100 | |
commit | 8e8dc33543504830e6444607ba856e60679995f1 (patch) | |
tree | 2f3868c67012442dbadf494150745ddc7b623a2a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | MIPS: Add printing of ISA version in cpuinfo. (diff) | |
download | linux-dev-8e8dc33543504830e6444607ba856e60679995f1.tar.xz linux-dev-8e8dc33543504830e6444607ba856e60679995f1.zip |
MIPS: Redefine value of BRK_BUG.
The BRK_BUG value is used in the BUG and __BUG_ON inline macros. For
standard MIPS cores the code in the 'tne' instruction is 10-bits long.
In microMIPS, the 'tne' instruction is recoded and the code can only be
4-bits long. We change the value to 12 instead of 512 so that both classic
and microMIPS kernels build.
[ralf@linux-mips.org: Many of the break codes starting from 0 are used
across many MIPS UNIX variants. Codes starting from 512 are operating
system specific additions. 1023 again is also used by other operating
systems]
Signed-off-by: Steven J. Hill <sjhill@mips.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions