Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1292211 > unrolled thread

Re: [PATCH trivial] include: asm-generic: Notice about 80 columns in pgtable-no*.h

Started byChen Gang <chengang@emindsoft.com.cn>
First post2015-12-15 15:20 +0100
Last post2015-12-15 15:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH trivial] include: asm-generic: Notice about 80 columns  in pgtable-no*.h Chen Gang <chengang@emindsoft.com.cn> - 2015-12-15 15:20 +0100

#1292211 — Re: [PATCH trivial] include: asm-generic: Notice about 80 columns in pgtable-no*.h

FromChen Gang <chengang@emindsoft.com.cn>
Date2015-12-15 15:20 +0100
SubjectRe: [PATCH trivial] include: asm-generic: Notice about 80 columns in pgtable-no*.h
Message-ID<qFYCm-5bR-17@gated-at.bofh.it>
After this patch, I finish 'scanning' mm related headers in
"include/asm-genric/*".

Next I shall continue 'scanning' mm related headers in
"include/linux/*" to know about the common sense information.

Thanks.

On 12/15/15 22:15, Chen Gang wrote:
> 
> It is a trivial patch.
> 
> Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
> ---
>  include/asm-generic/pgtable-nopmd.h | 3 ++-
>  include/asm-generic/pgtable-nopud.h | 3 ++-
>  2 files changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/include/asm-generic/pgtable-nopmd.h b/include/asm-generic/pgtable-nopmd.h
> index 725612b..7a81185 100644
> --- a/include/asm-generic/pgtable-nopmd.h
> +++ b/include/asm-generic/pgtable-nopmd.h
> @@ -38,7 +38,8 @@ static inline void pud_clear(pud_t *pud)	{ }
>   * (pmds are folded into puds so this doesn't get actually called,
>   * but the define is needed for a generic inline function.)
>   */
> -#define set_pud(pudptr, pudval)			set_pmd((pmd_t *)(pudptr), (pmd_t) { pudval })
> +#define set_pud(pudptr, pudval)			(set_pmd((pmd_t *)(pudptr), \
> +							(pmd_t) { pudval }))
>  
>  static inline pmd_t * pmd_offset(pud_t * pud, unsigned long address)
>  {
> diff --git a/include/asm-generic/pgtable-nopud.h b/include/asm-generic/pgtable-nopud.h
> index 810431d..bc78818 100644
> --- a/include/asm-generic/pgtable-nopud.h
> +++ b/include/asm-generic/pgtable-nopud.h
> @@ -33,7 +33,8 @@ static inline void pgd_clear(pgd_t *pgd)	{ }
>   * (puds are folded into pgds so this doesn't get actually called,
>   * but the define is needed for a generic inline function.)
>   */
> -#define set_pgd(pgdptr, pgdval)			set_pud((pud_t *)(pgdptr), (pud_t) { pgdval })
> +#define set_pgd(pgdptr, pgdval)			(set_pud((pud_t *)(pgdptr), \
> +							(pud_t) { pgdval }))
>  
>  static inline pud_t * pud_offset(pgd_t * pgd, unsigned long address)
>  {
> 

-- 
Chen Gang (陈刚)

Open, share, and attitude like air, water, and life which God blessed
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web