diff options
| author | Heiko Carstens <h.carstens@de.ibm.com> | 2012-03-30 03:40:55 -0400 |
|---|---|---|
| committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-03-30 03:41:12 -0400 |
| commit | 1e3cab2f2fbca25289094698fd1280ecfad7a8d4 (patch) | |
| tree | f29c082e9929c03461ce0bf168f938413204caa5 | |
| parent | f52b69f86e27903d6896ed5fa7cd280fec8de532 (diff) | |
[S390] Fix build errors (fallout from system.h disintegration)
Signed-off-by: Heiko Carstens <h.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
| -rw-r--r-- | arch/s390/include/asm/cpu_mf.h | 2 | ||||
| -rw-r--r-- | arch/s390/include/asm/mmu.h | 2 | ||||
| -rw-r--r-- | arch/s390/kernel/lgr.c | 1 | ||||
| -rw-r--r-- | arch/s390/kernel/perf_cpum_cf.c | 2 | ||||
| -rw-r--r-- | arch/s390/kernel/perf_event.c | 1 | ||||
| -rw-r--r-- | arch/s390/kernel/setup.c | 1 | ||||
| -rw-r--r-- | arch/s390/kernel/smp.c | 2 |
7 files changed, 9 insertions, 2 deletions
diff --git a/arch/s390/include/asm/cpu_mf.h b/arch/s390/include/asm/cpu_mf.h index e49db5d5d06f..a3afecdae145 100644 --- a/arch/s390/include/asm/cpu_mf.h +++ b/arch/s390/include/asm/cpu_mf.h | |||
| @@ -12,6 +12,8 @@ | |||
| 12 | #ifndef _ASM_S390_CPU_MF_H | 12 | #ifndef _ASM_S390_CPU_MF_H |
| 13 | #define _ASM_S390_CPU_MF_H | 13 | #define _ASM_S390_CPU_MF_H |
| 14 | 14 | ||
| 15 | #include <asm/facility.h> | ||
| 16 | |||
| 15 | #define CPU_MF_INT_SF_IAE (1 << 31) /* invalid entry address */ | 17 | #define CPU_MF_INT_SF_IAE (1 << 31) /* invalid entry address */ |
| 16 | #define CPU_MF_INT_SF_ISE (1 << 30) /* incorrect SDBT entry */ | 18 | #define CPU_MF_INT_SF_ISE (1 << 30) /* incorrect SDBT entry */ |
| 17 | #define CPU_MF_INT_SF_PRA (1 << 29) /* program request alert */ | 19 | #define CPU_MF_INT_SF_PRA (1 << 29) /* program request alert */ |
diff --git a/arch/s390/include/asm/mmu.h b/arch/s390/include/asm/mmu.h index 1c7d6ce328bf..6340178748bf 100644 --- a/arch/s390/include/asm/mmu.h +++ b/arch/s390/include/asm/mmu.h | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | #ifndef __MMU_H | 1 | #ifndef __MMU_H |
| 2 | #define __MMU_H | 2 | #define __MMU_H |
| 3 | 3 | ||
| 4 | #include <linux/errno.h> | ||
| 5 | |||
| 4 | typedef struct { | 6 | typedef struct { |
| 5 | atomic_t attach_count; | 7 | atomic_t attach_count; |
| 6 | unsigned int flush_mm; | 8 | unsigned int flush_mm; |
diff --git a/arch/s390/kernel/lgr.c b/arch/s390/kernel/lgr.c index ac39e7a731fc..87f080b17af1 100644 --- a/arch/s390/kernel/lgr.c +++ b/arch/s390/kernel/lgr.c | |||
| @@ -8,6 +8,7 @@ | |||
| 8 | #include <linux/module.h> | 8 | #include <linux/module.h> |
| 9 | #include <linux/timer.h> | 9 | #include <linux/timer.h> |
| 10 | #include <linux/slab.h> | 10 | #include <linux/slab.h> |
| 11 | #include <asm/facility.h> | ||
| 11 | #include <asm/sysinfo.h> | 12 | #include <asm/sysinfo.h> |
| 12 | #include <asm/ebcdic.h> | 13 | #include <asm/ebcdic.h> |
| 13 | #include <asm/debug.h> | 14 | #include <asm/debug.h> |
diff --git a/arch/s390/kernel/perf_cpum_cf.c b/arch/s390/kernel/perf_cpum_cf.c index 8481ecf2ad71..46405086479c 100644 --- a/arch/s390/kernel/perf_cpum_cf.c +++ b/arch/s390/kernel/perf_cpum_cf.c | |||
| @@ -18,7 +18,7 @@ | |||
| 18 | #include <linux/notifier.h> | 18 | #include <linux/notifier.h> |
| 19 | #include <linux/init.h> | 19 | #include <linux/init.h> |
| 20 | #include <linux/export.h> | 20 | #include <linux/export.h> |
| 21 | #include <asm/system.h> | 21 | #include <asm/ctl_reg.h> |
| 22 | #include <asm/irq.h> | 22 | #include <asm/irq.h> |
| 23 | #include <asm/cpu_mf.h> | 23 | #include <asm/cpu_mf.h> |
| 24 | 24 | ||
diff --git a/arch/s390/kernel/perf_event.c b/arch/s390/kernel/perf_event.c index 609f985198cf..f58f37f66824 100644 --- a/arch/s390/kernel/perf_event.c +++ b/arch/s390/kernel/perf_event.c | |||
| @@ -15,7 +15,6 @@ | |||
| 15 | #include <linux/perf_event.h> | 15 | #include <linux/perf_event.h> |
| 16 | #include <linux/percpu.h> | 16 | #include <linux/percpu.h> |
| 17 | #include <linux/export.h> | 17 | #include <linux/export.h> |
| 18 | #include <asm/system.h> | ||
| 19 | #include <asm/irq.h> | 18 | #include <asm/irq.h> |
| 20 | #include <asm/cpu_mf.h> | 19 | #include <asm/cpu_mf.h> |
| 21 | #include <asm/lowcore.h> | 20 | #include <asm/lowcore.h> |
diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c index 1581ea2e027a..06264ae8ccd9 100644 --- a/arch/s390/kernel/setup.c +++ b/arch/s390/kernel/setup.c | |||
| @@ -50,6 +50,7 @@ | |||
| 50 | 50 | ||
| 51 | #include <asm/ipl.h> | 51 | #include <asm/ipl.h> |
| 52 | #include <asm/uaccess.h> | 52 | #include <asm/uaccess.h> |
| 53 | #include <asm/facility.h> | ||
| 53 | #include <asm/smp.h> | 54 | #include <asm/smp.h> |
| 54 | #include <asm/mmu_context.h> | 55 | #include <asm/mmu_context.h> |
| 55 | #include <asm/cpcmd.h> | 56 | #include <asm/cpcmd.h> |
diff --git a/arch/s390/kernel/smp.c b/arch/s390/kernel/smp.c index a8bf9994b086..1f77227669e8 100644 --- a/arch/s390/kernel/smp.c +++ b/arch/s390/kernel/smp.c | |||
| @@ -32,6 +32,8 @@ | |||
| 32 | #include <linux/slab.h> | 32 | #include <linux/slab.h> |
| 33 | #include <linux/crash_dump.h> | 33 | #include <linux/crash_dump.h> |
| 34 | #include <asm/asm-offsets.h> | 34 | #include <asm/asm-offsets.h> |
| 35 | #include <asm/switch_to.h> | ||
| 36 | #include <asm/facility.h> | ||
| 35 | #include <asm/ipl.h> | 37 | #include <asm/ipl.h> |
| 36 | #include <asm/setup.h> | 38 | #include <asm/setup.h> |
| 37 | #include <asm/irq.h> | 39 | #include <asm/irq.h> |
