summaryrefslogtreecommitdiff
path: root/arch/microblaze/lib/ashldi3.c
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2011-03-10 12:51:27 +0300
committerMichal Simek <monstr@monstr.eu>2011-03-15 12:58:34 +0300
commit626afa35c1d39be43fc2b225d21973daf1c7e299 (patch)
tree27bdde9bb8b6da20c5deaf070edc356ccee8f980 /arch/microblaze/lib/ashldi3.c
parentcaa66ce9055d15fb319075ebcf30fbc666b41665 (diff)
downloadlinux-626afa35c1d39be43fc2b225d21973daf1c7e299.tar.xz
microblaze: Fix microblaze init vectors
Microblaze vector table stores several vectors (reset, user exception, interrupt, debug exception and hardware exception). All these functions can be below address 0x10000. If they are, wrong vector table is genarated because jump is not setup from two instructions (imm upper 16bit and brai lower 16bit). Adding specific offset prevent problem if address is below 0x10000. For this case only brai instruction is used. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/lib/ashldi3.c')
0 files changed, 0 insertions, 0 deletions