summaryrefslogtreecommitdiffstats
path: root/include/asm-h8300/flat.h
diff options
context:
space:
mode:
authorTim Shimmin <tes@chook.melbourne.sgi.com>2007-10-11 16:52:59 +1000
committerTim Shimmin <tes@chook.melbourne.sgi.com>2007-10-11 16:52:59 +1000
commitc1561cf463f4a480d1960e833c8fe628207b24e4 (patch)
treeb612e5257611ef33196aacc00fba813c943384d5 /include/asm-h8300/flat.h
parent053c59a0a7234bac669992f5b8b933b7d7fc189d (diff)
parentbbf25010f1a6b761914430f5fca081ec8c7accd1 (diff)
downloadop-kernel-dev-c1561cf463f4a480d1960e833c8fe628207b24e4.zip
op-kernel-dev-c1561cf463f4a480d1960e833c8fe628207b24e4.tar.gz
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 into for-linus
Diffstat (limited to 'include/asm-h8300/flat.h')
-rw-r--r--include/asm-h8300/flat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-h8300/flat.h b/include/asm-h8300/flat.h
index c20eee7..2a87350 100644
--- a/include/asm-h8300/flat.h
+++ b/include/asm-h8300/flat.h
@@ -9,6 +9,7 @@
#define flat_argvp_envp_on_stack() 1
#define flat_old_ram_flag(flags) 1
#define flat_reloc_valid(reloc, size) ((reloc) <= (size))
+#define flat_set_persistent(relval, p) 0
/*
* on the H8 a couple of the relocations have an instruction in the
@@ -18,7 +19,7 @@
*/
#define flat_get_relocate_addr(rel) (rel)
-#define flat_get_addr_from_rp(rp, relval, flags) \
+#define flat_get_addr_from_rp(rp, relval, flags, persistent) \
(get_unaligned(rp) & ((flags & FLAT_FLAG_GOTPIC) ? 0xffffffff: 0x00ffffff))
#define flat_put_addr_at_rp(rp, addr, rel) \
put_unaligned (((*(char *)(rp)) << 24) | ((addr) & 0x00ffffff), rp)
OpenPOWER on IntegriCloud