aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <[email protected]>2010-10-13 16:34:15 -0700
committerIngo Molnar <[email protected]>2010-10-14 09:06:49 +0200
commit67e87f0a1c5cbc750f81ebf6a128e8ff6f4376cc (patch)
tree566e2fdaf0fdec91bc1fd21141b6052bf4837fba /net/unix/sysctl_net_unix.c
parentfef5ba797991f9335bcfc295942b684f9bf613a1 (diff)
x86-64: Only set max_pfn_mapped to 512 MiB if we enter via head_64.S
head_64.S maps up to 512 MiB, but that is not necessarity true for other entry paths, such as Xen. Thus, co-locate the setting of max_pfn_mapped with the code to actually set up the page tables in head_64.S. The 32-bit code is already so co-located. (The Xen code already sets max_pfn_mapped correctly for its own use case.) -v2: Yinghai fixed the following bug in this patch: | | max_pfn_mapped is in .bss section, so we need to set that | after bss get cleared. Without that we crash on bootup. | | That is safe because Xen does not call x86_64_start_kernel(). | Signed-off-by: Jeremy Fitzhardinge <[email protected]> Fixed-by: Yinghai Lu <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions