x86: PAT: fixed checkpatch errors (and whitespaces)
x86: PAT: fixed checkpatch errors (and whitespaces) Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
committed by
Ingo Molnar
parent
97cfab6ac4
commit
cd7a4e936d
@@ -1,9 +1,7 @@
|
||||
|
||||
/*
|
||||
* Routines to indentify additional cpu features that are scattered in
|
||||
* cpuid space.
|
||||
*/
|
||||
|
||||
#include <linux/cpu.h>
|
||||
|
||||
#include <asm/pat.h>
|
||||
|
@@ -600,4 +600,3 @@ void unmap_devmem(unsigned long pfn, unsigned long size, pgprot_t vma_prot)
|
||||
|
||||
free_memtype(addr, addr + size);
|
||||
}
|
||||
|
||||
|
@@ -1,6 +1,5 @@
|
||||
|
||||
#ifndef _ASM_PAT_H
|
||||
#define _ASM_PAT_H 1
|
||||
#define _ASM_PAT_H
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
@@ -8,7 +7,7 @@
|
||||
extern int pat_wc_enabled;
|
||||
extern void validate_pat_support(struct cpuinfo_x86 *c);
|
||||
#else
|
||||
static const int pat_wc_enabled = 0;
|
||||
static const int pat_wc_enabled;
|
||||
static inline void validate_pat_support(struct cpuinfo_x86 *c) { }
|
||||
#endif
|
||||
|
||||
@@ -21,4 +20,3 @@ extern int free_memtype(u64 start, u64 end);
|
||||
extern void pat_disable(char *reason);
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user