mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
m68k/sun3/: possible cleanups
This patch contains the following possible cleanups: - make the following needlessly global code static: - config.c: sun3_bootmem_alloc() - config.c: sun3_sched_init() - dvma.c: dvma_page() - idprom.c: struct Sun_Machines[] - mmu_emu.c: struct ctx_alloc[] - sun3dvma.c: iommu_use[] - sun3ints.c: led_pattern[] - remove the unused sbus.c Signed-off-by: Adrian Bunk <[email protected]> Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
22deb527ce
commit
07b8125949
11 changed files with 10 additions and 43 deletions
|
|
@ -63,8 +63,6 @@ static inline int dvma_map_cpu(unsigned long kaddr, unsigned long vaddr,
|
|||
return 0;
|
||||
}
|
||||
|
||||
extern unsigned long dvma_page(unsigned long kaddr, unsigned long vaddr);
|
||||
|
||||
#else /* Sun3x */
|
||||
|
||||
/* sun3x dvma page support */
|
||||
|
|
|
|||
|
|
@ -21,8 +21,6 @@ struct Sun_Machine_Models {
|
|||
//#define NUM_SUN_MACHINES 23
|
||||
#define NUM_SUN_MACHINES 8
|
||||
|
||||
extern struct Sun_Machine_Models Sun_Machines[NUM_SUN_MACHINES];
|
||||
|
||||
/* The machine type in the idprom area looks like this:
|
||||
*
|
||||
* ---------------
|
||||
|
|
|
|||
|
|
@ -12,9 +12,6 @@ struct sbus_dev {
|
|||
} reg_addrs[1];
|
||||
};
|
||||
|
||||
extern void *sparc_alloc_io (u32, void *, int, char *, u32, int);
|
||||
#define sparc_alloc_io(a,b,c,d,e,f) (a)
|
||||
|
||||
#define ARCH_SUN4 0
|
||||
|
||||
/* sbus IO functions stolen from include/asm-sparc/io.h for the serial driver */
|
||||
|
|
|
|||
Loading…
Reference in a new issue