Skip to content

Commit 7025bec

Browse files
committed
sh: Kill off dead UBC headers.
Nothing is using these now, so kill them all off. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
1 parent 4352fc1 commit 7025bec

6 files changed

Lines changed: 8 additions & 221 deletions

File tree

‎arch/sh/include/asm/ubc.h‎

Lines changed: 0 additions & 70 deletions
This file was deleted.

‎arch/sh/include/cpu-sh2/cpu/ubc.h‎

Lines changed: 0 additions & 32 deletions
This file was deleted.

‎arch/sh/include/cpu-sh3/cpu/ubc.h‎

Lines changed: 0 additions & 42 deletions
This file was deleted.

‎arch/sh/include/cpu-sh4/cpu/ubc.h‎

Lines changed: 0 additions & 64 deletions
This file was deleted.

‎arch/sh/kernel/cpu/init.c‎

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@
2424
#include <asm/elf.h>
2525
#include <asm/io.h>
2626
#include <asm/smp.h>
27-
#ifdef CONFIG_SUPERH32
28-
#include <asm/ubc.h>
29-
#endif
3027

3128
/*
3229
* Generic wrapper for command line arguments to disable on-chip
@@ -252,20 +249,19 @@ static void __init dsp_init(void)
252249
/**
253250
* sh_cpu_init
254251
*
255-
* This is our initial entry point for each CPU, and is invoked on the boot
256-
* CPU prior to calling start_kernel(). For SMP, a combination of this and
257-
* start_secondary() will bring up each processor to a ready state prior
258-
* to hand forking the idle loop.
252+
* This is our initial entry point for each CPU, and is invoked on the
253+
* boot CPU prior to calling start_kernel(). For SMP, a combination of
254+
* this and start_secondary() will bring up each processor to a ready
255+
* state prior to hand forking the idle loop.
259256
*
260-
* We do all of the basic processor init here, including setting up the
261-
* caches, FPU, DSP, kicking the UBC, etc. By the time start_kernel() is
262-
* hit (and subsequently platform_setup()) things like determining the
263-
* CPU subtype and initial configuration will all be done.
257+
* We do all of the basic processor init here, including setting up
258+
* the caches, FPU, DSP, etc. By the time start_kernel() is hit (and
259+
* subsequently platform_setup()) things like determining the CPU
260+
* subtype and initial configuration will all be done.
264261
*
265262
* Each processor family is still responsible for doing its own probing
266263
* and cache configuration in detect_cpu_and_cache_system().
267264
*/
268-
269265
asmlinkage void __init sh_cpu_init(void)
270266
{
271267
current_thread_info()->cpu = hard_smp_processor_id();

‎arch/sh/kernel/process_32.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#include <asm/mmu_context.h>
3131
#include <asm/pgalloc.h>
3232
#include <asm/system.h>
33-
#include <asm/ubc.h>
3433
#include <asm/fpu.h>
3534
#include <asm/syscalls.h>
3635
#include <asm/watchdog.h>

0 commit comments

Comments
 (0)