diff options
author | Robin Getz <robin.getz@analog.com> | 2007-10-29 18:23:28 +0800 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-10-29 18:23:28 +0800 |
commit | 9f336a53266f43ae1002f4aaad5373944589c828 (patch) | |
tree | 8de3512c947eb68d9b0bb2ed7de8cd6be37aecb1 /arch/blackfin/kernel/setup.c | |
parent | 15b3ad6a4b348ea53ea1a45f9b166ac31c4b3f39 (diff) | |
download | talos-op-linux-9f336a53266f43ae1002f4aaad5373944589c828.tar.gz talos-op-linux-9f336a53266f43ae1002f4aaad5373944589c828.zip |
Blackfin arch: ensure that speculative loads of bad pointers don't cause us to do bad things.
Fix/change formatting of a few more things.
Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/kernel/setup.c')
-rw-r--r-- | arch/blackfin/kernel/setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c index fc22ec8c2f47..934234f43839 100644 --- a/arch/blackfin/kernel/setup.c +++ b/arch/blackfin/kernel/setup.c @@ -431,6 +431,8 @@ void __init setup_arch(char **cmdline_p) != ATOMIC_AND32 - FIXED_CODE_START); BUG_ON((char *)&atomic_xor32 - (char *)&fixed_code_start != ATOMIC_XOR32 - FIXED_CODE_START); + BUG_ON((char *)&safe_user_instruction - (char *)&fixed_code_start + != SAFE_USER_INSTRUCTION - FIXED_CODE_START); init_exception_vectors(); bf53x_cache_init(); |