Skip to content

Commit

Permalink
sh: Kill off dead UBC headers.
Browse files Browse the repository at this point in the history
Nothing is using these now, so kill them all off.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Jan 5, 2010
1 parent 4352fc1 commit 7025bec
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 221 deletions.
70 changes: 0 additions & 70 deletions arch/sh/include/asm/ubc.h

This file was deleted.

32 changes: 0 additions & 32 deletions arch/sh/include/cpu-sh2/cpu/ubc.h

This file was deleted.

42 changes: 0 additions & 42 deletions arch/sh/include/cpu-sh3/cpu/ubc.h

This file was deleted.

64 changes: 0 additions & 64 deletions arch/sh/include/cpu-sh4/cpu/ubc.h

This file was deleted.

20 changes: 8 additions & 12 deletions arch/sh/kernel/cpu/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@
#include <asm/elf.h>
#include <asm/io.h>
#include <asm/smp.h>
#ifdef CONFIG_SUPERH32
#include <asm/ubc.h>
#endif

/*
* Generic wrapper for command line arguments to disable on-chip
Expand Down Expand Up @@ -252,20 +249,19 @@ static void __init dsp_init(void)
/**
* sh_cpu_init
*
* This is our initial entry point for each CPU, and is invoked on the boot
* CPU prior to calling start_kernel(). For SMP, a combination of this and
* start_secondary() will bring up each processor to a ready state prior
* to hand forking the idle loop.
* This is our initial entry point for each CPU, and is invoked on the
* boot CPU prior to calling start_kernel(). For SMP, a combination of
* this and start_secondary() will bring up each processor to a ready
* state prior to hand forking the idle loop.
*
* We do all of the basic processor init here, including setting up the
* caches, FPU, DSP, kicking the UBC, etc. By the time start_kernel() is
* hit (and subsequently platform_setup()) things like determining the
* CPU subtype and initial configuration will all be done.
* We do all of the basic processor init here, including setting up
* the caches, FPU, DSP, etc. By the time start_kernel() is hit (and
* subsequently platform_setup()) things like determining the CPU
* subtype and initial configuration will all be done.
*
* Each processor family is still responsible for doing its own probing
* and cache configuration in detect_cpu_and_cache_system().
*/

asmlinkage void __init sh_cpu_init(void)
{
current_thread_info()->cpu = hard_smp_processor_id();
Expand Down
1 change: 0 additions & 1 deletion arch/sh/kernel/process_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#include <asm/mmu_context.h>
#include <asm/pgalloc.h>
#include <asm/system.h>
#include <asm/ubc.h>
#include <asm/fpu.h>
#include <asm/syscalls.h>
#include <asm/watchdog.h>
Expand Down

0 comments on commit 7025bec

Please sign in to comment.