The same definition for pte_page is duplicated for the MIPS32
PHYS_ADDR_T_64BIT case & the generic case. Unify them by moving a single
definition outside of preprocessor conditionals.
Signed-off-by: Paul Burton
Reviewed-by: James Hogan
---
Changes in v3: None
Changes in v2: None
arch/
The same definition for pte_page is duplicated for the MIPS32
PHYS_ADDR_T_64BIT case & the generic case. Unify them by moving a single
definition outside of preprocessor conditionals.
Signed-off-by: Paul Burton
Reviewed-by: James Hogan
---
Changes in v2: None
arch/mips/include/asm/pgtabl
On Fri, Apr 15, 2016 at 11:36:54AM +0100, Paul Burton wrote:
> The same definition for pte_page is duplicated for the MIPS32
> PHYS_ADDR_T_64BIT case & the generic case. Unify them by moving a single
> definition outside of preprocessor conditionals.
>
> Signed-off-by: Paul B
The same definition for pte_page is duplicated for the MIPS32
PHYS_ADDR_T_64BIT case & the generic case. Unify them by moving a single
definition outside of preprocessor conditionals.
Signed-off-by: Paul Burton
---
arch/mips/include/asm/pgtable-32.h | 6 +++---
1 file changed, 3 insert
cc: Daljeet Maini/India/IBM@IBMIN, |
| [EMAIL PROTECTED] |
| Subject: Re: pte_page|
>|
On Wed, 30 May 2001, Pete Wyckoff wrote:
> > __pa(page_ad
On Wed, 30 May 2001, Pete Wyckoff wrote:
> > __pa(page_address(pte_page(pte))) is the address you want. [or
> > pte_val(*pte) & (PAGE_SIZE-1) on x86 but this is platform-dependent.]
>
> Does this work on x86 non-kmapped highmem user pages too? (i.e. is
> page->virtu
[EMAIL PROTECTED] said:
> On Wed, 30 May 2001 [EMAIL PROTECTED] wrote:
> > I use the 'pgt_offset', 'pmd_offset', 'pte_offset' and 'pte_page'
> > inside a module to get the physical address of a user space virtual
> > address. The ph
On Wed, 30 May 2001 [EMAIL PROTECTED] wrote:
> I use the 'pgt_offset', 'pmd_offset', 'pte_offset' and 'pte_page'
> inside a module to get the physical address of a user space virtual
> address. The physical address returned by 'pte_page&
Brian Gerst wrote:
>
> [EMAIL PROTECTED] wrote:
> >
> > I use the 'pgt_offset', 'pmd_offset', 'pte_offset' and 'pte_page' inside a
> > module to get the physical address of a user space virtual address. The
> > physical addr
[EMAIL PROTECTED] wrote:
>
> I use the 'pgt_offset', 'pmd_offset', 'pte_offset' and 'pte_page' inside a
> module to get the physical address of a user space virtual address. The
> physical address returned by 'pte_page' is not pa
I use the 'pgt_offset', 'pmd_offset', 'pte_offset' and 'pte_page' inside a
module to get the physical address of a user space virtual address. The
physical address returned by 'pte_page' is not page aligned whereas the
virtual address was page al
11 matches
Mail list logo