Repository navigation
Commit 6c17199
committed
powerpc/of: Remove useless register save/restore when calling OF back
enter_prom() used to save and restore registers such as CTR, XER etc..
which are volatile, or SRR0,1... which we don't care about. This
removes a bunch of useless code and while at it turns an mtmsrd into
an MTMSRD macro which will be useful to Book3E.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>1 parent 7d60b02 commit 6c17199
1 file changed
Lines changed: 6 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
823 | 823 | | |
824 | 824 | | |
825 | 825 | | |
826 | | - | |
| 826 | + | |
827 | 827 | | |
828 | 828 | | |
829 | 829 | | |
830 | | - | |
831 | | - | |
832 | | - | |
833 | | - | |
834 | | - | |
835 | | - | |
836 | | - | |
837 | | - | |
838 | | - | |
839 | | - | |
840 | | - | |
841 | | - | |
842 | | - | |
843 | | - | |
| 830 | + | |
844 | 831 | | |
| 832 | + | |
845 | 833 | | |
846 | 834 | | |
847 | 835 | | |
848 | | - | |
849 | | - | |
| 836 | + | |
850 | 837 | | |
851 | 838 | | |
852 | 839 | | |
| |||
860 | 847 | | |
861 | 848 | | |
862 | 849 | | |
863 | | - | |
864 | | - | |
| 850 | + | |
865 | 851 | | |
866 | 852 | | |
867 | 853 | | |
| |||
871 | 857 | | |
872 | 858 | | |
873 | 859 | | |
874 | | - | |
| 860 | + | |
875 | 861 | | |
876 | 862 | | |
877 | 863 | | |
| |||
881 | 867 | | |
882 | 868 | | |
883 | 869 | | |
884 | | - | |
885 | | - | |
886 | | - | |
887 | | - | |
888 | | - | |
889 | | - | |
890 | | - | |
891 | | - | |
892 | | - | |
893 | | - | |
894 | | - | |
895 | | - | |
896 | 870 | | |
897 | 871 | | |
898 | 872 | | |
| |||
0 commit comments