diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2014-02-14 23:46:24 -0500 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2014-03-10 16:15:07 -0400 |
commit | 7ce0526a6c2681f8edd1f9940c3d668e4cde4cf2 (patch) | |
tree | 5100a754a560634992cf7ba97087593208bacee6 /arch/m68k/kernel | |
parent | a91c406c742b3fc28969ec3316c9588acde66e5a (diff) |
m68k: Remove dead code
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/kernel')
-rw-r--r-- | arch/m68k/kernel/head.S | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/arch/m68k/kernel/head.S b/arch/m68k/kernel/head.S index cea4af91cbd3..cb9c40e04e7e 100644 --- a/arch/m68k/kernel/head.S +++ b/arch/m68k/kernel/head.S | |||
@@ -657,27 +657,6 @@ ENTRY(__start) | |||
657 | movel %a0@,%a1@ | 657 | movel %a0@,%a1@ |
658 | #endif | 658 | #endif |
659 | 659 | ||
660 | #if 0 | ||
661 | /* | ||
662 | * Clear the screen | ||
663 | */ | ||
664 | lea %pc@(L(mac_videobase)),%a0 | ||
665 | movel %a0@,%a1 | ||
666 | lea %pc@(L(mac_dimensions)),%a0 | ||
667 | movel %a0@,%d1 | ||
668 | swap %d1 /* #rows is high bytes */ | ||
669 | andl #0xFFFF,%d1 /* rows */ | ||
670 | subl #10,%d1 | ||
671 | lea %pc@(L(mac_rowbytes)),%a0 | ||
672 | loopy2: | ||
673 | movel %a0@,%d0 | ||
674 | subql #1,%d0 | ||
675 | loopx2: | ||
676 | moveb #0x55, %a1@+ | ||
677 | dbra %d0,loopx2 | ||
678 | dbra %d1,loopy2 | ||
679 | #endif | ||
680 | |||
681 | L(test_notmac): | 660 | L(test_notmac): |
682 | #endif /* CONFIG_MAC */ | 661 | #endif /* CONFIG_MAC */ |
683 | 662 | ||
@@ -3323,7 +3302,6 @@ func_return set_leds | |||
3323 | #define Lconsole_struct_num_columns 8 | 3302 | #define Lconsole_struct_num_columns 8 |
3324 | #define Lconsole_struct_num_rows 12 | 3303 | #define Lconsole_struct_num_rows 12 |
3325 | #define Lconsole_struct_left_edge 16 | 3304 | #define Lconsole_struct_left_edge 16 |
3326 | #define Lconsole_struct_penguin_putc 20 | ||
3327 | 3305 | ||
3328 | func_start console_init,%a0-%a4/%d0-%d7 | 3306 | func_start console_init,%a0-%a4/%d0-%d7 |
3329 | /* | 3307 | /* |
@@ -3798,38 +3776,6 @@ L(console_plot_pixel_exit): | |||
3798 | func_return console_plot_pixel | 3776 | func_return console_plot_pixel |
3799 | #endif /* CONSOLE */ | 3777 | #endif /* CONSOLE */ |
3800 | 3778 | ||
3801 | #if 0 | ||
3802 | /* | ||
3803 | * This is some old code lying around. I don't believe | ||
3804 | * it's used or important anymore. My guess is it contributed | ||
3805 | * to getting to this point, but it's done for now. | ||
3806 | * It was still in the 2.1.77 head.S, so it's still here. | ||
3807 | * (And still not used!) | ||
3808 | */ | ||
3809 | L(showtest): | ||
3810 | moveml %a0/%d7,%sp@- | ||
3811 | puts "A=" | ||
3812 | putn %a1 | ||
3813 | |||
3814 | .long 0xf0119f15 | ptestr #5,%a1@,#7,%a0 | ||
3815 | |||
3816 | puts "DA=" | ||
3817 | putn %a0 | ||
3818 | |||
3819 | puts "D=" | ||
3820 | putn %a0@ | ||
3821 | |||
3822 | puts "S=" | ||
3823 | lea %pc@(L(mmu)),%a0 | ||
3824 | .long 0xf0106200 | pmove %psr,%a0@ | ||
3825 | clrl %d7 | ||
3826 | movew %a0@,%d7 | ||
3827 | putn %d7 | ||
3828 | |||
3829 | putc '\n' | ||
3830 | moveml %sp@+,%a0/%d7 | ||
3831 | rts | ||
3832 | #endif /* 0 */ | ||
3833 | 3779 | ||
3834 | __INITDATA | 3780 | __INITDATA |
3835 | .align 4 | 3781 | .align 4 |
@@ -3848,7 +3794,6 @@ L(console_globals): | |||
3848 | .long 0 /* max num columns */ | 3794 | .long 0 /* max num columns */ |
3849 | .long 0 /* max num rows */ | 3795 | .long 0 /* max num rows */ |
3850 | .long 0 /* left edge */ | 3796 | .long 0 /* left edge */ |
3851 | .long 0 /* mac putc */ | ||
3852 | L(console_font): | 3797 | L(console_font): |
3853 | .long 0 /* pointer to console font (struct font_desc) */ | 3798 | .long 0 /* pointer to console font (struct font_desc) */ |
3854 | L(console_font_data): | 3799 | L(console_font_data): |