Skip to content

Commit e8cb7a5

Browse files
chleroympe
authored andcommitted
powerpc: remove superflous inclusions of asm/fixmap.h
Files not using fixmap consts or functions don't need asm/fixmap.h Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
1 parent 2c86cd1 commit e8cb7a5

File tree

4 files changed

+0
-5
lines changed

4 files changed

+0
-5
lines changed

arch/powerpc/include/asm/fixmap.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
#define _ASM_FIXMAP_H
1616

1717
#ifndef __ASSEMBLY__
18-
#include <linux/kernel.h>
1918
#include <asm/page.h>
20-
#include <asm/pgtable.h>
2119
#ifdef CONFIG_HIGHMEM
2220
#include <linux/threads.h>
2321
#include <asm/kmap_types.h>

arch/powerpc/kernel/head_8xx.S

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#include <asm/ppc_asm.h>
3131
#include <asm/asm-offsets.h>
3232
#include <asm/ptrace.h>
33-
#include <asm/fixmap.h>
3433
#include <asm/export.h>
3534

3635
#if CONFIG_TASK_SIZE <= 0x80000000 && CONFIG_PAGE_OFFSET >= 0x80000000

arch/powerpc/mm/dump_hashpagetable.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#include <linux/mm.h>
2020
#include <linux/sched.h>
2121
#include <linux/seq_file.h>
22-
#include <asm/fixmap.h>
2322
#include <asm/pgtable.h>
2423
#include <linux/const.h>
2524
#include <asm/page.h>

arch/powerpc/sysdev/cpm_common.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#include <asm/udbg.h>
2929
#include <asm/io.h>
3030
#include <asm/cpm.h>
31-
#include <asm/fixmap.h>
3231
#include <soc/fsl/qe/qe.h>
3332

3433
#include <mm/mmu_decl.h>

0 commit comments

Comments
 (0)