Re: [PATCH 37 of 41] add x86 32bit support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 26, 2010 at 06:00:41PM +0100, Andrea Arcangeli wrote:
> diff --git a/arch/x86/include/asm/pgtable-3level.h b/arch/x86/include/asm/pgtable-3level.h
> --- a/arch/x86/include/asm/pgtable-3level.h
> +++ b/arch/x86/include/asm/pgtable-3level.h
> @@ -104,6 +104,29 @@ static inline pte_t native_ptep_get_and_
>  #define native_ptep_get_and_clear(xp) native_local_ptep_get_and_clear(xp)
>  #endif
>  
> +#ifdef CONFIG_SMP
> +union split_pmd {
> +	struct {
> +		u32 pmd_low;
> +		u32 pmd_high;
> +	};
> +	pmd_t pmd;
> +};
> +static inline pmd_t native_pmdp_get_and_clear(pmd_t *pmdp)
> +{
> +	union split_pmd res, *orig = (union pmd_parts *)pmdp;

Oh, shoot, the cast needs to be renamed to (union split_pmd *) as well.

	Hannes

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]