Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd7a4e93 authored by Andreas Herrmann's avatar Andreas Herrmann Committed by Ingo Molnar
Browse files

x86: PAT: fixed checkpatch errors (and whitespaces)



x86: PAT: fixed checkpatch errors (and whitespaces)

Signed-off-by: default avatarAndreas Herrmann <andreas.herrmann3@amd.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 97cfab6a
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line

/*
/*
 *	Routines to indentify additional cpu features that are scattered in
 *	Routines to indentify additional cpu features that are scattered in
 *	cpuid space.
 *	cpuid space.
 */
 */

#include <linux/cpu.h>
#include <linux/cpu.h>


#include <asm/pat.h>
#include <asm/pat.h>
+14 −15
Original line number Original line Diff line number Diff line
@@ -600,4 +600,3 @@ void unmap_devmem(unsigned long pfn, unsigned long size, pgprot_t vma_prot)


	free_memtype(addr, addr + size);
	free_memtype(addr, addr + size);
}
}
+2 −4
Original line number Original line Diff line number Diff line

#ifndef _ASM_PAT_H
#ifndef _ASM_PAT_H
#define _ASM_PAT_H 1
#define _ASM_PAT_H


#include <linux/types.h>
#include <linux/types.h>


@@ -8,7 +7,7 @@
extern int pat_wc_enabled;
extern int pat_wc_enabled;
extern void validate_pat_support(struct cpuinfo_x86 *c);
extern void validate_pat_support(struct cpuinfo_x86 *c);
#else
#else
static const int pat_wc_enabled = 0;
static const int pat_wc_enabled;
static inline void validate_pat_support(struct cpuinfo_x86 *c) { }
static inline void validate_pat_support(struct cpuinfo_x86 *c) { }
#endif
#endif


@@ -21,4 +20,3 @@ extern int free_memtype(u64 start, u64 end);
extern void pat_disable(char *reason);
extern void pat_disable(char *reason);


#endif
#endif