Skip to content

Commit

Permalink
sh: Fix up pte_mkhuge() build breakage for SH-5.
Browse files Browse the repository at this point in the history
Applies the fix from 5b67954 to
pgtable_64.h.

Signed-off-by: Paul Mundt <[email protected]>
  • Loading branch information
pmundt committed Feb 14, 2008
1 parent 64e34ca commit 5286031
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions include/asm-sh/pgtable_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,14 @@ static __inline__ void pmd_set(pmd_t *pmdp,pte_t *ptep)
#define _PAGE_SZHUGE (_PAGE_SIZE0 | _PAGE_SIZE1)
#endif

/*
* Stub out _PAGE_SZHUGE if we don't have a good definition for it,
* to make pte_mkhuge() happy.
*/
#ifndef _PAGE_SZHUGE
# define _PAGE_SZHUGE (0)
#endif

/*
* Default flags for a Kernel page.
* This is fundametally also SHARED because the main use of this define
Expand Down

0 comments on commit 5286031

Please sign in to comment.