diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-02-13 01:43:25 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-02-13 01:43:25 -0500 |
commit | d9bc125caf592b7d081021f32ce5b717efdf70c8 (patch) | |
tree | 263b7066ba22ddce21db610c0300f6eaac6f2064 /arch/m32r/mm/fault-nommu.c | |
parent | 43d78ef2ba5bec26d0315859e8324bfc0be23766 (diff) | |
parent | ec2f9d1331f658433411c58077871e1eef4ee1b4 (diff) |
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/
Conflicts:
net/sunrpc/auth_gss/gss_krb5_crypto.c
net/sunrpc/auth_gss/gss_spkm3_token.c
net/sunrpc/clnt.c
Merge with mainline and fix conflicts.
Diffstat (limited to 'arch/m32r/mm/fault-nommu.c')
-rw-r--r-- | arch/m32r/mm/fault-nommu.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/arch/m32r/mm/fault-nommu.c b/arch/m32r/mm/fault-nommu.c index 03fc4c858e0e..9880abac3f54 100644 --- a/arch/m32r/mm/fault-nommu.c +++ b/arch/m32r/mm/fault-nommu.c | |||
@@ -7,8 +7,6 @@ | |||
7 | * Copyright (C) 1995 Linus Torvalds | 7 | * Copyright (C) 1995 Linus Torvalds |
8 | */ | 8 | */ |
9 | 9 | ||
10 | /* $Id: fault-nommu.c,v 1.1 2004/03/30 06:40:59 sakugawa Exp $ */ | ||
11 | |||
12 | #include <linux/signal.h> | 10 | #include <linux/signal.h> |
13 | #include <linux/sched.h> | 11 | #include <linux/sched.h> |
14 | #include <linux/kernel.h> | 12 | #include <linux/kernel.h> |
@@ -46,32 +44,6 @@ unsigned int tlb_entry_d_dat[NR_CPUS]; | |||
46 | #define tlb_entry_d tlb_entry_d_dat[smp_processor_id()] | 44 | #define tlb_entry_d tlb_entry_d_dat[smp_processor_id()] |
47 | #endif | 45 | #endif |
48 | 46 | ||
49 | /* | ||
50 | * Unlock any spinlocks which will prevent us from getting the | ||
51 | * message out | ||
52 | */ | ||
53 | void bust_spinlocks(int yes) | ||
54 | { | ||
55 | int loglevel_save = console_loglevel; | ||
56 | |||
57 | if (yes) { | ||
58 | oops_in_progress = 1; | ||
59 | return; | ||
60 | } | ||
61 | #ifdef CONFIG_VT | ||
62 | unblank_screen(); | ||
63 | #endif | ||
64 | oops_in_progress = 0; | ||
65 | /* | ||
66 | * OK, the message is on the console. Now we call printk() | ||
67 | * without oops_in_progress set so that printk will give klogd | ||
68 | * a poke. Hold onto your hats... | ||
69 | */ | ||
70 | console_loglevel = 15; /* NMI oopser may have shut the console up */ | ||
71 | printk(" "); | ||
72 | console_loglevel = loglevel_save; | ||
73 | } | ||
74 | |||
75 | void do_BUG(const char *file, int line) | 47 | void do_BUG(const char *file, int line) |
76 | { | 48 | { |
77 | bust_spinlocks(1); | 49 | bust_spinlocks(1); |
@@ -161,4 +133,3 @@ void local_flush_tlb_all(void) | |||
161 | { | 133 | { |
162 | BUG(); | 134 | BUG(); |
163 | } | 135 | } |
164 | |||