diff options
author | Hugh Dickins <hugh@veritas.com> | 2008-09-09 16:42:45 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-09-10 10:00:42 +0200 |
commit | 91030ca1e739696812242c807b112ee3981a14be (patch) | |
tree | e4aeed87ee5909f51de37b924da1b593fc599c28 /Documentation/kernel-parameters.txt | |
parent | adee14b2e1557d0a8559f29681732d05a89dfc35 (diff) | |
download | kernel_samsung_smdk4412-91030ca1e739696812242c807b112ee3981a14be.zip kernel_samsung_smdk4412-91030ca1e739696812242c807b112ee3981a14be.tar.gz kernel_samsung_smdk4412-91030ca1e739696812242c807b112ee3981a14be.tar.bz2 |
x86: unsigned long pte_pfn
pte_pfn() has always been of type unsigned long, even on 32-bit PAE;
but in the current tip/next/mm tree it works out to be unsigned long
long on 64-bit, which gives an irritating warning if you try to printk
a pfn with the usual %lx.
Now use the same pte_pfn() function, moved from pgtable-3level.h
to pgtable.h, for all models: as suggested by Jeremy Fitzhardinge.
And pte_page() can well move along with it (remaining a macro to
avoid dependence on mm_types.h).
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Acked-by: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation/kernel-parameters.txt')
0 files changed, 0 insertions, 0 deletions