diff options
| author | Takashi Iwai <tiwai@suse.de> | 2012-09-15 02:24:42 -0400 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2012-09-15 02:24:42 -0400 |
| commit | 5d037f9064a8f3b9abbe383cdfb35e159d813711 (patch) | |
| tree | 2a2445271ee818c360c42408a324d2945a6dd9f7 /arch/s390/include/asm | |
| parent | 64f1e00d8edb54f5d25fb0114a46050fb8340df4 (diff) | |
| parent | 985b11fa8064d55d0d5a84e68667434598911bb2 (diff) | |
Merge tag 'asoc-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Updates for 3.6
A bigger set of updates than I'm entirely comfortable with - things
backed up a bit due to travel. As ever the majority of these are small,
focused updates for specific drivers though there are a couple of core
changes. There's been good exposure in -next.
The AT91 patch fixes a build break.
Diffstat (limited to 'arch/s390/include/asm')
| -rw-r--r-- | arch/s390/include/asm/sparsemem.h | 2 | ||||
| -rw-r--r-- | arch/s390/include/asm/syscall.h | 10 |
2 files changed, 10 insertions, 2 deletions
diff --git a/arch/s390/include/asm/sparsemem.h b/arch/s390/include/asm/sparsemem.h index 0fb34027d3f6..a60d085ddb4d 100644 --- a/arch/s390/include/asm/sparsemem.h +++ b/arch/s390/include/asm/sparsemem.h | |||
| @@ -4,13 +4,11 @@ | |||
| 4 | #ifdef CONFIG_64BIT | 4 | #ifdef CONFIG_64BIT |
| 5 | 5 | ||
| 6 | #define SECTION_SIZE_BITS 28 | 6 | #define SECTION_SIZE_BITS 28 |
| 7 | #define MAX_PHYSADDR_BITS 46 | ||
| 8 | #define MAX_PHYSMEM_BITS 46 | 7 | #define MAX_PHYSMEM_BITS 46 |
| 9 | 8 | ||
| 10 | #else | 9 | #else |
| 11 | 10 | ||
| 12 | #define SECTION_SIZE_BITS 25 | 11 | #define SECTION_SIZE_BITS 25 |
| 13 | #define MAX_PHYSADDR_BITS 31 | ||
| 14 | #define MAX_PHYSMEM_BITS 31 | 12 | #define MAX_PHYSMEM_BITS 31 |
| 15 | 13 | ||
| 16 | #endif /* CONFIG_64BIT */ | 14 | #endif /* CONFIG_64BIT */ |
diff --git a/arch/s390/include/asm/syscall.h b/arch/s390/include/asm/syscall.h index fb214dd9b7e0..fe7b99759e12 100644 --- a/arch/s390/include/asm/syscall.h +++ b/arch/s390/include/asm/syscall.h | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | #ifndef _ASM_SYSCALL_H | 12 | #ifndef _ASM_SYSCALL_H |
| 13 | #define _ASM_SYSCALL_H 1 | 13 | #define _ASM_SYSCALL_H 1 |
| 14 | 14 | ||
| 15 | #include <linux/audit.h> | ||
| 15 | #include <linux/sched.h> | 16 | #include <linux/sched.h> |
| 16 | #include <linux/err.h> | 17 | #include <linux/err.h> |
| 17 | #include <asm/ptrace.h> | 18 | #include <asm/ptrace.h> |
| @@ -87,4 +88,13 @@ static inline void syscall_set_arguments(struct task_struct *task, | |||
| 87 | regs->orig_gpr2 = args[0]; | 88 | regs->orig_gpr2 = args[0]; |
| 88 | } | 89 | } |
| 89 | 90 | ||
| 91 | static inline int syscall_get_arch(struct task_struct *task, | ||
| 92 | struct pt_regs *regs) | ||
| 93 | { | ||
| 94 | #ifdef CONFIG_COMPAT | ||
| 95 | if (test_tsk_thread_flag(task, TIF_31BIT)) | ||
| 96 | return AUDIT_ARCH_S390; | ||
| 97 | #endif | ||
| 98 | return sizeof(long) == 8 ? AUDIT_ARCH_S390X : AUDIT_ARCH_S390; | ||
| 99 | } | ||
| 90 | #endif /* _ASM_SYSCALL_H */ | 100 | #endif /* _ASM_SYSCALL_H */ |
