aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/alpha/include/asm/processor.h1
-rw-r--r--arch/arc/kernel/troubleshoot.c3
-rw-r--r--arch/arm/include/asm/Kbuild1
-rw-r--r--arch/arm/include/asm/seccomp.h11
-rw-r--r--arch/microblaze/include/asm/seccomp.h8
-rw-r--r--arch/mips/configs/ip32_defconfig3
-rw-r--r--arch/mips/include/asm/mach-ip32/mc146818rtc.h36
-rw-r--r--arch/mips/include/asm/seccomp.h7
-rw-r--r--arch/mips/sgi-ip32/ip32-platform.c46
-rw-r--r--arch/mips/sgi-ip32/ip32-reset.c131
-rw-r--r--arch/parisc/include/asm/Kbuild1
-rw-r--r--arch/parisc/include/asm/seccomp.h16
-rw-r--r--arch/powerpc/include/asm/seccomp.h10
-rw-r--r--arch/powerpc/include/uapi/asm/Kbuild1
-rw-r--r--arch/powerpc/include/uapi/asm/seccomp.h16
-rw-r--r--arch/powerpc/oprofile/cell/spu_task_sync.c13
-rw-r--r--arch/sparc/include/asm/seccomp.h11
-rw-r--r--arch/x86/include/asm/seccomp.h21
-rw-r--r--arch/x86/include/asm/seccomp_32.h11
-rw-r--r--arch/x86/include/asm/seccomp_64.h17
20 files changed, 126 insertions, 238 deletions
diff --git a/arch/alpha/include/asm/processor.h b/arch/alpha/include/asm/processor.h
index b4cf03690394..43a7559c448b 100644
--- a/arch/alpha/include/asm/processor.h
+++ b/arch/alpha/include/asm/processor.h
@@ -44,6 +44,7 @@ struct task_struct;
44extern unsigned long thread_saved_pc(struct task_struct *); 44extern unsigned long thread_saved_pc(struct task_struct *);
45 45
46/* Do necessary setup to start up a newly executed thread. */ 46/* Do necessary setup to start up a newly executed thread. */
47struct pt_regs;
47extern void start_thread(struct pt_regs *, unsigned long, unsigned long); 48extern void start_thread(struct pt_regs *, unsigned long, unsigned long);
48 49
49/* Free all resources held by a thread. */ 50/* Free all resources held by a thread. */
diff --git a/arch/arc/kernel/troubleshoot.c b/arch/arc/kernel/troubleshoot.c
index 1badf9b84b51..e00a01879025 100644
--- a/arch/arc/kernel/troubleshoot.c
+++ b/arch/arc/kernel/troubleshoot.c
@@ -52,7 +52,7 @@ static void show_callee_regs(struct callee_regs *cregs)
52 print_reg_file(&(cregs->r13), 13); 52 print_reg_file(&(cregs->r13), 13);
53} 53}
54 54
55void print_task_path_n_nm(struct task_struct *tsk, char *buf) 55static void print_task_path_n_nm(struct task_struct *tsk, char *buf)
56{ 56{
57 struct path path; 57 struct path path;
58 char *path_nm = NULL; 58 char *path_nm = NULL;
@@ -77,7 +77,6 @@ void print_task_path_n_nm(struct task_struct *tsk, char *buf)
77done: 77done:
78 pr_info("Path: %s\n", path_nm); 78 pr_info("Path: %s\n", path_nm);
79} 79}
80EXPORT_SYMBOL(print_task_path_n_nm);
81 80
82static void show_faulting_vma(unsigned long address, char *buf) 81static void show_faulting_vma(unsigned long address, char *buf)
83{ 82{
diff --git a/arch/arm/include/asm/Kbuild b/arch/arm/include/asm/Kbuild
index eb0f43f3e3f1..3c4596d0ce6c 100644
--- a/arch/arm/include/asm/Kbuild
+++ b/arch/arm/include/asm/Kbuild
@@ -21,6 +21,7 @@ generic-y += preempt.h
21generic-y += resource.h 21generic-y += resource.h
22generic-y += rwsem.h 22generic-y += rwsem.h
23generic-y += scatterlist.h 23generic-y += scatterlist.h
24generic-y += seccomp.h
24generic-y += sections.h 25generic-y += sections.h
25generic-y += segment.h 26generic-y += segment.h
26generic-y += sembuf.h 27generic-y += sembuf.h
diff --git a/arch/arm/include/asm/seccomp.h b/arch/arm/include/asm/seccomp.h
deleted file mode 100644
index 52b156b341f5..000000000000
--- a/arch/arm/include/asm/seccomp.h
+++ /dev/null
@@ -1,11 +0,0 @@
1#ifndef _ASM_ARM_SECCOMP_H
2#define _ASM_ARM_SECCOMP_H
3
4#include <linux/unistd.h>
5
6#define __NR_seccomp_read __NR_read
7#define __NR_seccomp_write __NR_write
8#define __NR_seccomp_exit __NR_exit
9#define __NR_seccomp_sigreturn __NR_rt_sigreturn
10
11#endif /* _ASM_ARM_SECCOMP_H */
diff --git a/arch/microblaze/include/asm/seccomp.h b/arch/microblaze/include/asm/seccomp.h
index 0d912758a0d7..204618a2ce84 100644
--- a/arch/microblaze/include/asm/seccomp.h
+++ b/arch/microblaze/include/asm/seccomp.h
@@ -3,14 +3,8 @@
3 3
4#include <linux/unistd.h> 4#include <linux/unistd.h>
5 5
6#define __NR_seccomp_read __NR_read
7#define __NR_seccomp_write __NR_write
8#define __NR_seccomp_exit __NR_exit
9#define __NR_seccomp_sigreturn __NR_sigreturn 6#define __NR_seccomp_sigreturn __NR_sigreturn
10 7
11#define __NR_seccomp_read_32 __NR_read 8#include <asm-generic/seccomp.h>
12#define __NR_seccomp_write_32 __NR_write
13#define __NR_seccomp_exit_32 __NR_exit
14#define __NR_seccomp_sigreturn_32 __NR_sigreturn
15 9
16#endif /* _ASM_MICROBLAZE_SECCOMP_H */ 10#endif /* _ASM_MICROBLAZE_SECCOMP_H */
diff --git a/arch/mips/configs/ip32_defconfig b/arch/mips/configs/ip32_defconfig
index 70ffe9b55829..fe48220157a9 100644
--- a/arch/mips/configs/ip32_defconfig
+++ b/arch/mips/configs/ip32_defconfig
@@ -105,7 +105,8 @@ CONFIG_RTC_CLASS=y
105# CONFIG_RTC_HCTOSYS is not set 105# CONFIG_RTC_HCTOSYS is not set
106# CONFIG_RTC_INTF_SYSFS is not set 106# CONFIG_RTC_INTF_SYSFS is not set
107# CONFIG_RTC_INTF_PROC is not set 107# CONFIG_RTC_INTF_PROC is not set
108CONFIG_RTC_DRV_CMOS=y 108CONFIG_RTC_DRV_DS1685_FAMILY=y
109CONFIG_RTC_DRV_DS1685=y
109CONFIG_EXT2_FS=y 110CONFIG_EXT2_FS=y
110CONFIG_EXT2_FS_XATTR=y 111CONFIG_EXT2_FS_XATTR=y
111CONFIG_EXT2_FS_POSIX_ACL=y 112CONFIG_EXT2_FS_POSIX_ACL=y
diff --git a/arch/mips/include/asm/mach-ip32/mc146818rtc.h b/arch/mips/include/asm/mach-ip32/mc146818rtc.h
deleted file mode 100644
index 6b6bab43d5c1..000000000000
--- a/arch/mips/include/asm/mach-ip32/mc146818rtc.h
+++ /dev/null
@@ -1,36 +0,0 @@
1/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 1998, 2001, 03 by Ralf Baechle
7 * Copyright (C) 2000 Harald Koerfgen
8 *
9 * RTC routines for IP32 style attached Dallas chip.
10 */
11#ifndef __ASM_MACH_IP32_MC146818RTC_H
12#define __ASM_MACH_IP32_MC146818RTC_H
13
14#include <asm/ip32/mace.h>
15
16#define RTC_PORT(x) (0x70 + (x))
17
18static unsigned char CMOS_READ(unsigned long addr)
19{
20 return mace->isa.rtc[addr << 8];
21}
22
23static inline void CMOS_WRITE(unsigned char data, unsigned long addr)
24{
25 mace->isa.rtc[addr << 8] = data;
26}
27
28/*
29 * FIXME: Do it right. For now just assume that no one lives in 20th century
30 * and no O2 user in 22th century ;-)
31 */
32#define mc146818_decode_year(year) ((year) + 2000)
33
34#define RTC_ALWAYS_BCD 0
35
36#endif /* __ASM_MACH_IP32_MC146818RTC_H */
diff --git a/arch/mips/include/asm/seccomp.h b/arch/mips/include/asm/seccomp.h
index f29c75cf83c6..1d8a2e2c75c1 100644
--- a/arch/mips/include/asm/seccomp.h
+++ b/arch/mips/include/asm/seccomp.h
@@ -2,11 +2,6 @@
2 2
3#include <linux/unistd.h> 3#include <linux/unistd.h>
4 4
5#define __NR_seccomp_read __NR_read
6#define __NR_seccomp_write __NR_write
7#define __NR_seccomp_exit __NR_exit
8#define __NR_seccomp_sigreturn __NR_rt_sigreturn
9
10/* 5/*
11 * Kludge alert: 6 * Kludge alert:
12 * 7 *
@@ -29,4 +24,6 @@
29 24
30#endif /* CONFIG_MIPS32_O32 */ 25#endif /* CONFIG_MIPS32_O32 */
31 26
27#include <asm-generic/seccomp.h>
28
32#endif /* __ASM_SECCOMP_H */ 29#endif /* __ASM_SECCOMP_H */
diff --git a/arch/mips/sgi-ip32/ip32-platform.c b/arch/mips/sgi-ip32/ip32-platform.c
index 511e9ff2acfd..b522477129a5 100644
--- a/arch/mips/sgi-ip32/ip32-platform.c
+++ b/arch/mips/sgi-ip32/ip32-platform.c
@@ -9,10 +9,13 @@
9#include <linux/init.h> 9#include <linux/init.h>
10#include <linux/platform_device.h> 10#include <linux/platform_device.h>
11#include <linux/serial_8250.h> 11#include <linux/serial_8250.h>
12#include <linux/rtc/ds1685.h>
12