summaryrefslogtreecommitdiff
path: root/include/asm-arm
diff options
context:
space:
mode:
authorRussell King <rmk@flint.arm.linux.org.uk>2003-04-28 02:56:26 +0100
committerRussell King <rmk@flint.arm.linux.org.uk>2003-04-28 02:56:26 +0100
commitef76bbd297ef62cbfbb9e04e038b41364cf27374 (patch)
tree6842847780dbc54be7341eebf0a4ff6d256897f7 /include/asm-arm
parentd37d9068570fe5177134e0ee75273ec01d9be5b3 (diff)
[ARM] Remove check_bugs()
check_bugs() has never been used to detect buggy ARM CPUs. Therefore is no point in passing it to the per-cpu support code.
Diffstat (limited to 'include/asm-arm')
-rw-r--r--include/asm-arm/bugs.h4
-rw-r--r--include/asm-arm/cpu-multi26.h3
-rw-r--r--include/asm-arm/cpu-multi32.h5
-rw-r--r--include/asm-arm/cpu-single.h2
4 files changed, 2 insertions, 12 deletions
diff --git a/include/asm-arm/bugs.h b/include/asm-arm/bugs.h
index 2f7b33b10334..14a4e05eee8c 100644
--- a/include/asm-arm/bugs.h
+++ b/include/asm-arm/bugs.h
@@ -1,7 +1,7 @@
/*
* linux/include/asm-arm/bugs.h
*
- * Copyright (C) 1995 Russell King
+ * Copyright (C) 1995-2003 Russell King
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@ -12,6 +12,6 @@
#include <asm/proc-fns.h>
-#define check_bugs() cpu_check_bugs()
+#define check_bugs() do { } while (0)
#endif
diff --git a/include/asm-arm/cpu-multi26.h b/include/asm-arm/cpu-multi26.h
index fc8d9a215ebc..b237d5770238 100644
--- a/include/asm-arm/cpu-multi26.h
+++ b/include/asm-arm/cpu-multi26.h
@@ -19,8 +19,6 @@ struct task_struct;
* relies on it.
*/
extern struct processor {
- /* check for any bugs */
- void (*_check_bugs)(void);
/* Set up any processor specifics */
void (*_proc_init)(void);
/* Disable any processor specifics */
@@ -36,7 +34,6 @@ extern const struct processor arm2_processor_functions;
extern const struct processor arm250_processor_functions;
extern const struct processor arm3_processor_functions;
-#define cpu_check_bugs() processor._check_bugs()
#define cpu_proc_init() processor._proc_init()
#define cpu_proc_fin() processor._proc_fin()
#define cpu_do_idle() do { } while (0)
diff --git a/include/asm-arm/cpu-multi32.h b/include/asm-arm/cpu-multi32.h
index bb8b5bb19041..00f936197ad9 100644
--- a/include/asm-arm/cpu-multi32.h
+++ b/include/asm-arm/cpu-multi32.h
@@ -24,10 +24,6 @@ extern struct processor {
*/
void (*_data_abort)(unsigned long pc);
/*
- * check for any bugs
- */
- void (*_check_bugs)(void);
- /*
* Set up any processor specifics
*/
void (*_proc_init)(void);
@@ -62,7 +58,6 @@ extern struct processor {
void (*set_pte)(pte_t *ptep, pte_t pte);
} processor;
-#define cpu_check_bugs() processor._check_bugs()
#define cpu_proc_init() processor._proc_init()
#define cpu_proc_fin() processor._proc_fin()
#define cpu_reset(addr) processor.reset(addr)
diff --git a/include/asm-arm/cpu-single.h b/include/asm-arm/cpu-single.h
index 30394b11876e..c75c98454d50 100644
--- a/include/asm-arm/cpu-single.h
+++ b/include/asm-arm/cpu-single.h
@@ -22,7 +22,6 @@
* function pointers for this lot. Otherwise, we can optimise the
* table away.
*/
-#define cpu_check_bugs __cpu_fn(CPU_NAME,_check_bugs)
#define cpu_proc_init __cpu_fn(CPU_NAME,_proc_init)
#define cpu_proc_fin __cpu_fn(CPU_NAME,_proc_fin)
#define cpu_reset __cpu_fn(CPU_NAME,_reset)
@@ -39,7 +38,6 @@
struct mm_struct;
/* declare all the functions as extern */
-extern void cpu_check_bugs(void);
extern void cpu_proc_init(void);
extern void cpu_proc_fin(void);
extern int cpu_do_idle(void);