diff options
Diffstat (limited to 'arch/mips')
| -rw-r--r-- | arch/mips/Kconfig | 2 | ||||
| -rw-r--r-- | arch/mips/au1000/pb1200/irqmap.c | 2 | ||||
| -rw-r--r-- | arch/mips/basler/excite/excite_irq.c | 2 | ||||
| -rw-r--r-- | arch/mips/configs/ip27_defconfig | 1 | ||||
| -rw-r--r-- | arch/mips/configs/sb1250-swarm_defconfig | 1 | ||||
| -rw-r--r-- | arch/mips/kernel/irixelf.c | 4 | ||||
| -rw-r--r-- | arch/mips/kernel/irixsig.c | 2 | ||||
| -rw-r--r-- | arch/mips/kernel/sysirix.c | 4 | ||||
| -rw-r--r-- | arch/mips/kernel/traps.c | 2 | ||||
| -rw-r--r-- | arch/mips/mm/fault.c | 2 | ||||
| -rw-r--r-- | arch/mips/oprofile/Kconfig | 23 | ||||
| -rw-r--r-- | arch/mips/tx4938/common/setup.c | 2 |
12 files changed, 13 insertions, 34 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index cb027580cd1d..4dc142d394a3 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
| @@ -2005,7 +2005,7 @@ source "drivers/Kconfig" | |||
| 2005 | 2005 | ||
| 2006 | source "fs/Kconfig" | 2006 | source "fs/Kconfig" |
| 2007 | 2007 | ||
| 2008 | source "arch/mips/oprofile/Kconfig" | 2008 | source "kernel/Kconfig.instrumentation" |
| 2009 | 2009 | ||
| 2010 | source "arch/mips/Kconfig.debug" | 2010 | source "arch/mips/Kconfig.debug" |
| 2011 | 2011 | ||
diff --git a/arch/mips/au1000/pb1200/irqmap.c b/arch/mips/au1000/pb1200/irqmap.c index 5f48b0603796..bdf00e2a35e4 100644 --- a/arch/mips/au1000/pb1200/irqmap.c +++ b/arch/mips/au1000/pb1200/irqmap.c | |||
| @@ -36,8 +36,8 @@ | |||
| 36 | #include <linux/slab.h> | 36 | #include <linux/slab.h> |
| 37 | #include <linux/random.h> | 37 | #include <linux/random.h> |
| 38 | #include <linux/delay.h> | 38 | #include <linux/delay.h> |
| 39 | #include <linux/bitops.h> | ||
| 39 | 40 | ||
| 40 | #include <asm/bitops.h> | ||
| 41 | #include <asm/bootinfo.h> | 41 | #include <asm/bootinfo.h> |
| 42 | #include <asm/io.h> | 42 | #include <asm/io.h> |
| 43 | #include <asm/mipsregs.h> | 43 | #include <asm/mipsregs.h> |
diff --git a/arch/mips/basler/excite/excite_irq.c b/arch/mips/basler/excite/excite_irq.c index 1ecab6350421..4903e067916b 100644 --- a/arch/mips/basler/excite/excite_irq.c +++ b/arch/mips/basler/excite/excite_irq.c | |||
| @@ -29,7 +29,7 @@ | |||
| 29 | #include <linux/timex.h> | 29 | #include <linux/timex.h> |
| 30 | #include <linux/slab.h> | 30 | #include <linux/slab.h> |
| 31 | #include <linux/random.h> | 31 | #include <linux/random.h> |
| 32 | #include <asm/bitops.h> | 32 | #include <linux/bitops.h> |
| 33 | #include <asm/bootinfo.h> | 33 | #include <asm/bootinfo.h> |
| 34 | #include <asm/io.h> | 34 | #include <asm/io.h> |
| 35 | #include <asm/irq.h> | 35 | #include <asm/irq.h> |
diff --git a/arch/mips/configs/ip27_defconfig b/arch/mips/configs/ip27_defconfig index 49bcc58929ba..892d4c38fd0d 100644 --- a/arch/mips/configs/ip27_defconfig +++ b/arch/mips/configs/ip27_defconfig | |||
| @@ -175,6 +175,7 @@ CONFIG_POSIX_MQUEUE=y | |||
| 175 | CONFIG_IKCONFIG=y | 175 | CONFIG_IKCONFIG=y |
| 176 | CONFIG_IKCONFIG_PROC=y | 176 | CONFIG_IKCONFIG_PROC=y |
| 177 | CONFIG_LOG_BUF_SHIFT=15 | 177 | CONFIG_LOG_BUF_SHIFT=15 |
| 178 | CONFIG_CGROUPS=y | ||
| 178 | CONFIG_CPUSETS=y | 179 | CONFIG_CPUSETS=y |
| 179 | CONFIG_SYSFS_DEPRECATED=y | 180 | CONFIG_SYSFS_DEPRECATED=y |
| 180 | CONFIG_RELAY=y | 181 | CONFIG_RELAY=y |
diff --git a/arch/mips/configs/sb1250-swarm_defconfig b/arch/mips/configs/sb1250-swarm_defconfig index 3ed991ae0ebe..49dfcef2518c 100644 --- a/arch/mips/configs/sb1250-swarm_defconfig +++ b/arch/mips/configs/sb1250-swarm_defconfig | |||
| @@ -196,6 +196,7 @@ CONFIG_SYSVIPC_SYSCTL=y | |||
| 196 | # CONFIG_UTS_NS is not set | 196 | # CONFIG_UTS_NS is not set |
| 197 | # CONFIG_AUDIT is not set | 197 | # CONFIG_AUDIT is not set |
| 198 | # CONFIG_IKCONFIG is not set | 198 | # CONFIG_IKCONFIG is not set |
| 199 | CONFIG_CGROUPS=y | ||
| 199 | CONFIG_CPUSETS=y | 200 | CONFIG_CPUSETS=y |
| 200 | CONFIG_SYSFS_DEPRECATED=y | 201 | CONFIG_SYSFS_DEPRECATED=y |
| 201 | CONFIG_RELAY=y | 202 | CONFIG_RELAY=y |
diff --git a/arch/mips/kernel/irixelf.c b/arch/mips/kernel/irixelf.c index b997af713eb3..7852c7cdf29e 100644 --- a/arch/mips/kernel/irixelf.c +++ b/arch/mips/kernel/irixelf.c | |||
| @@ -1172,8 +1172,8 @@ static int irix_core_dump(long signr, struct pt_regs *regs, struct file *file, u | |||
| 1172 | prstatus.pr_sighold = current->blocked.sig[0]; | 1172 | prstatus.pr_sighold = current->blocked.sig[0]; |
| 1173 | psinfo.pr_pid = prstatus.pr_pid = current->pid; | 1173 | psinfo.pr_pid = prstatus.pr_pid = current->pid; |
| 1174 | psinfo.pr_ppid = prstatus.pr_ppid = current->parent->pid; | 1174 | psinfo.pr_ppid = prstatus.pr_ppid = current->parent->pid; |
| 1175 | psinfo.pr_pgrp = prstatus.pr_pgrp = process_group(current); | 1175 | psinfo.pr_pgrp = prstatus.pr_pgrp = task_pgrp_nr(current); |
| 1176 | psinfo.pr_sid = prstatus.pr_sid = process_session(current); | 1176 | psinfo.pr_sid = prstatus.pr_sid = task_session_nr(current); |
| 1177 | if (current->pid == current->tgid) { | 1177 | if (current->pid == current->tgid) { |
| 1178 | /* | 1178 | /* |
| 1179 | * This is the record for the group leader. Add in the | 1179 | * This is the record for the group leader. Add in the |
diff --git a/arch/mips/kernel/irixsig.c b/arch/mips/kernel/irixsig.c index 85c2e389edd6..a0a91056fda7 100644 --- a/arch/mips/kernel/irixsig.c +++ b/arch/mips/kernel/irixsig.c | |||
| @@ -609,7 +609,7 @@ repeat: | |||
| 609 | p = list_entry(_p, struct task_struct, sibling); | 609 | p = list_entry(_p, struct task_struct, sibling); |
| 610 | if ((type == IRIX_P_PID) && p->pid != pid) | 610 | if ((type == IRIX_P_PID) && p->pid != pid) |
| 611 | continue; | 611 | continue; |
| 612 | if ((type == IRIX_P_PGID) && process_group(p) != pid) | 612 | if ((type == IRIX_P_PGID) && task_pgrp_nr(p) != pid) |
| 613 | continue; | 613 | continue; |
| 614 | if ((p->exit_signal != SIGCHLD)) | 614 | if ((p->exit_signal != SIGCHLD)) |
| 615 | continue; | 615 | continue; |
diff --git a/arch/mips/kernel/sysirix.c b/arch/mips/kernel/sysirix.c index ee7790d9debe..4c477c7ff74a 100644 --- a/arch/mips/kernel/sysirix.c +++ b/arch/mips/kernel/sysirix.c | |||
| @@ -763,11 +763,11 @@ asmlinkage int irix_setpgrp(int flags) | |||
| 763 | printk("[%s:%d] setpgrp(%d) ", current->comm, current->pid, flags); | 763 | printk("[%s:%d] setpgrp(%d) ", current->comm, current->pid, flags); |
| 764 | #endif | 764 | #endif |
| 765 | if(!flags) | 765 | if(!flags) |
| 766 | error = process_group(current); | 766 | error = task_pgrp_nr(current); |
| 767 | else | 767 | else |
| 768 | error = sys_setsid(); | 768 | error = sys_setsid(); |
| 769 | #ifdef DEBUG_PROCGRPS | 769 | #ifdef DEBUG_PROCGRPS |
| 770 | printk("returning %d\n", process_group(current)); | 770 | printk("returning %d\n", task_pgrp_nr(current)); |
| 771 | #endif | 771 | #endif |
| 772 | 772 | ||
| 773 | return error; | 773 | return error; |
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index 7b78d137259f..fa500787152d 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c | |||
| @@ -314,7 +314,7 @@ void show_registers(const struct pt_regs *regs) | |||
| 314 | __show_regs(regs); | 314 | __show_regs(regs); |
| 315 | print_modules(); | 315 | print_modules(); |
| 316 | printk("Process %s (pid: %d, threadinfo=%p, task=%p)\n", | 316 | printk("Process %s (pid: %d, threadinfo=%p, task=%p)\n", |
| 317 | current->comm, current->pid, current_thread_info(), current); | 317 | current->comm, task_pid_nr(current), current_thread_info(), current); |
| 318 | show_stacktrace(current, regs); | 318 | show_stacktrace(current, regs); |
| 319 | show_code((unsigned int __user *) regs->cp0_epc); | 319 | show_code((unsigned int __user *) regs->cp0_epc); |
| 320 | printk("\n"); | 320 | printk("\n"); |
diff --git a/arch/mips/mm/fault.c b/arch/mips/mm/fault.c index 5699c7713e2f..fa636fc6b7b9 100644 --- a/arch/mips/mm/fault.c +++ b/arch/mips/mm/fault.c | |||
| @@ -173,7 +173,7 @@ no_context: | |||
| 173 | */ | 173 | */ |
| 174 | out_of_memory: | 174 | out_of_memory: |
| 175 | up_read(&mm->mmap_sem); | 175 | up_read(&mm->mmap_sem); |
| 176 | if (is_init(tsk)) { | 176 | if (is_global_init(tsk)) { |
| 177 | yield(); | 177 | yield(); |
| 178 | down_read(&mm->mmap_sem); | 178 | down_read(&mm->mmap_sem); |
| 179 | goto survive; | 179 | goto survive; |
diff --git a/arch/mips/oprofile/Kconfig b/arch/mips/oprofile/Kconfig deleted file mode 100644 index fb6f235348b0..000000000000 --- a/arch/mips/oprofile/Kconfig +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | |||
| 2 | menu "Profiling support" | ||
| 3 | depends on EXPERIMENTAL | ||
| 4 | |||
| 5 | config PROFILING | ||
| 6 | bool "Profiling support (EXPERIMENTAL)" | ||
| 7 | help | ||
| 8 | Say Y here to enable the extended profiling support mechanisms used | ||
| 9 | by profilers such as OProfile. | ||
| 10 | |||
| 11 | |||
| 12 | config OPROFILE | ||
| 13 | tristate "OProfile system profiling (EXPERIMENTAL)" | ||
| 14 | depends on PROFILING && !MIPS_MT_SMTC && EXPERIMENTAL | ||
| 15 | help | ||
| 16 | OProfile is a profiling system capable of profiling the | ||
| 17 | whole system, include the kernel, kernel modules, libraries, | ||
| 18 | and applications. | ||
| 19 | |||
| 20 | If unsure, say N. | ||
| 21 | |||
| 22 | endmenu | ||
| 23 | |||
diff --git a/arch/mips/tx4938/common/setup.c b/arch/mips/tx4938/common/setup.c index ab4082267553..04f009ccb0eb 100644 --- a/arch/mips/tx4938/common/setup.c +++ b/arch/mips/tx4938/common/setup.c | |||
| @@ -24,7 +24,7 @@ | |||
| 24 | #include <linux/slab.h> | 24 | #include <linux/slab.h> |
| 25 | #include <linux/random.h> | 25 | #include <linux/random.h> |
| 26 | #include <linux/irq.h> | 26 | #include <linux/irq.h> |
| 27 | #include <asm/bitops.h> | 27 | #include <linux/bitops.h> |
| 28 | #include <asm/bootinfo.h> | 28 | #include <asm/bootinfo.h> |
| 29 | #include <asm/io.h> | 29 | #include <asm/io.h> |
| 30 | #include <asm/irq.h> | 30 | #include <asm/irq.h> |
