mirror of https://gitee.com/openkylin/linux.git
sparc32: drop unused type/extern
Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3774348770
commit
6066fc3dc4
|
@ -45,12 +45,6 @@ struct sparc_phys_banks {
|
||||||
|
|
||||||
extern struct sparc_phys_banks sp_banks[SPARC_PHYS_BANKS+1];
|
extern struct sparc_phys_banks sp_banks[SPARC_PHYS_BANKS+1];
|
||||||
|
|
||||||
/* Cache alias structure. Entry is valid if context != -1. */
|
|
||||||
struct cache_palias {
|
|
||||||
unsigned long vaddr;
|
|
||||||
int context;
|
|
||||||
};
|
|
||||||
|
|
||||||
/* passing structs on the Sparc slow us down tremendously... */
|
/* passing structs on the Sparc slow us down tremendously... */
|
||||||
|
|
||||||
/* #define STRICT_MM_TYPECHECKS */
|
/* #define STRICT_MM_TYPECHECKS */
|
||||||
|
|
|
@ -77,14 +77,6 @@ extern pgd_t swapper_pg_dir[1024];
|
||||||
|
|
||||||
extern void paging_init(void);
|
extern void paging_init(void);
|
||||||
|
|
||||||
/* Page table for 0-4MB for everybody, on the Sparc this
|
|
||||||
* holds the same as on the i386.
|
|
||||||
*/
|
|
||||||
extern pte_t pg0[1024];
|
|
||||||
extern pte_t pg1[1024];
|
|
||||||
extern pte_t pg2[1024];
|
|
||||||
extern pte_t pg3[1024];
|
|
||||||
|
|
||||||
extern unsigned long ptr_in_current_pgd;
|
extern unsigned long ptr_in_current_pgd;
|
||||||
|
|
||||||
/* Here is a trick, since mmap.c need the initializer elements for
|
/* Here is a trick, since mmap.c need the initializer elements for
|
||||||
|
|
Loading…
Reference in New Issue