summaryrefslogtreecommitdiff
path: root/include/asm-sh/processor.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 20:14:29 -0800
committerLinus Torvalds <torvalds@athlon.transmeta.com>2002-02-04 20:14:29 -0800
commit70a8be476e663526c3cb17a157c17ccf4fca5bd4 (patch)
tree9cb7529d5c1d7e7d90a21b1a6c9f6133fbbb0511 /include/asm-sh/processor.h
parent1c3cefa582a6b598d204bad02676df300e457efa (diff)
v2.4.9.5 -> v2.4.9.6
- Jens Axboe: remove trivially dead io_request_lock usage - Andrea Arcangeli: softirq cleanup and ARM fixes. Slab cleanups - Christoph Hellwig: gendisk handling helper functions/cleanups - Nikita Danilov: reiserfs dead code pruning - Anton Altaparmakov: NTFS update to 1.1.18 - firestream network driver: patch reverted on authors request - NIIBE Yutaka: SH architecture update - Paul Mackerras: PPC cleanups, PPC8xx update. - me: reverse broken bootdata allocation patch that went into pre5
Diffstat (limited to 'include/asm-sh/processor.h')
-rw-r--r--include/asm-sh/processor.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/include/asm-sh/processor.h b/include/asm-sh/processor.h
index 83c7f1ab536b..0e16df80b644 100644
--- a/include/asm-sh/processor.h
+++ b/include/asm-sh/processor.h
@@ -30,13 +30,9 @@ enum cpu_type {
struct sh_cpuinfo {
enum cpu_type type;
- unsigned long loops_per_jiffy;
-
char hard_math;
+ unsigned long loops_per_jiffy;
- unsigned long *pgd_quick;
- unsigned long *pte_quick;
- unsigned long pgtable_cache_sz;
unsigned int cpu_clock, master_clock, bus_clock, module_clock;
#ifdef CONFIG_CPU_SUBTYPE_ST40STB1
unsigned int memory_clock;
@@ -163,7 +159,7 @@ extern int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags);
* FPU lazy state save handling.
*/
-extern __inline__ void release_fpu(void)
+static __inline__ void release_fpu(void)
{
unsigned long __dummy;
@@ -175,7 +171,7 @@ extern __inline__ void release_fpu(void)
: "r" (SR_FD));
}
-extern __inline__ void grab_fpu(void)
+static __inline__ void grab_fpu(void)
{
unsigned long __dummy;
@@ -207,7 +203,7 @@ extern void save_fpu(struct task_struct *__tsk);
/*
* Return saved PC of a blocked thread.
*/
-extern __inline__ unsigned long thread_saved_pc(struct thread_struct *t)
+static __inline__ unsigned long thread_saved_pc(struct thread_struct *t)
{
return t->pc;
}