Skip to content

Commit

Permalink
include/asm-x86/page_32.h: checkpatch cleanups - formatting only
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Joe Perches authored and Ingo Molnar committed Apr 17, 2008
1 parent 5f4e4b7 commit 095d1c4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions include/asm-x86/page_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ typedef unsigned long pgdval_t;
typedef unsigned long pgprotval_t;
typedef unsigned long phys_addr_t;

typedef union { pteval_t pte, pte_low; } pte_t;
typedef union {
pteval_t pte;
pteval_t pte_low;
} pte_t;

#endif /* __ASSEMBLY__ */
#endif /* CONFIG_X86_PAE */
Expand All @@ -61,7 +64,7 @@ typedef struct page *pgtable_t;
#endif

#ifndef __ASSEMBLY__
#define __phys_addr(x) ((x)-PAGE_OFFSET)
#define __phys_addr(x) ((x) - PAGE_OFFSET)
#define __phys_reloc_hide(x) RELOC_HIDE((x), 0)

#ifdef CONFIG_FLATMEM
Expand All @@ -78,7 +81,7 @@ extern unsigned int __VMALLOC_RESERVE;
extern int sysctl_legacy_va_layout;

#define VMALLOC_RESERVE ((unsigned long)__VMALLOC_RESERVE)
#define MAXMEM (-__PAGE_OFFSET-__VMALLOC_RESERVE)
#define MAXMEM (-__PAGE_OFFSET - __VMALLOC_RESERVE)

#ifdef CONFIG_X86_USE_3DNOW
#include <asm/mmx.h>
Expand Down

0 comments on commit 095d1c4

Please sign in to comment.