summaryrefslogtreecommitdiffstats
path: root/include/net/checksum.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2006-12-07 02:14:03 +0100
committerAndi Kleen <andi@basil.nowhere.org>2006-12-07 02:14:03 +0100
commit9f45accf17efc050ba26bf77cc4f166c950b284e (patch)
tree1ea566184cfa02f4a1dd5e2643ad2d999f398f0f /include/net/checksum.h
parent[PATCH] i386: Add comment for align to vmlinux.lds (diff)
downloadlinux-9f45accf17efc050ba26bf77cc4f166c950b284e.tar.xz
linux-9f45accf17efc050ba26bf77cc4f166c950b284e.zip
[PATCH] i386: define __pa_symbol()
On x86_64 we have to be careful with calculating the physical address of kernel symbols. Both because of compiler odditities and because the symbols live in a different range of the virtual address space. Having a defintition of __pa_symbol that works on both x86_64 and i386 simplifies writing code that works for both x86_64 and i386 that has these kinds of dependencies. So this patch adds the trivial i386 __pa_symbol definition. Added assembly magic similar to RELOC_HIDE as suggested by Andi Kleen. Just picked it up from x86_64. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com> Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'include/net/checksum.h')
0 files changed, 0 insertions, 0 deletions