Commit 388f788
MIPS: octeon: Get rid of preprocessor directives around RESERVE32
Some of them were pointless because CONFIG_CAVIUM_RESERVE32 is now always
defined, some were not enough (Yu Zhao reported
"Failed to allocate CAVIUM_RESERVE32 memory area" error).
Removing the directives allows for compiler coverage of RESERVE32 code and
replacing one of [always-true] "ifdef" with a compiler conditional fixes
the [cosmetic] error message.
Fixes: 3e3114a ("MIPS: Introduce CAVIUM_RESERVE32 Kconfig option")
Signed-off-by: Alexander Sverdlin <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>1 parent 35508d2 commit 388f788
2 files changed
+11
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | 60 | | |
62 | | - | |
63 | 61 | | |
64 | 62 | | |
65 | 63 | | |
66 | 64 | | |
67 | | - | |
68 | 65 | | |
69 | 66 | | |
70 | 67 | | |
| |||
73 | 70 | | |
74 | 71 | | |
75 | 72 | | |
76 | | - | |
77 | 73 | | |
78 | 74 | | |
79 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
288 | 287 | | |
289 | 288 | | |
290 | | - | |
291 | 289 | | |
292 | 290 | | |
293 | 291 | | |
| |||
666 | 664 | | |
667 | 665 | | |
668 | 666 | | |
669 | | - | |
670 | | - | |
671 | | - | |
672 | 667 | | |
673 | 668 | | |
674 | 669 | | |
| |||
783 | 778 | | |
784 | 779 | | |
785 | 780 | | |
786 | | - | |
| 781 | + | |
787 | 782 | | |
788 | 783 | | |
789 | 784 | | |
| |||
794 | 789 | | |
795 | 790 | | |
796 | 791 | | |
797 | | - | |
798 | | - | |
799 | | - | |
800 | | - | |
801 | | - | |
802 | | - | |
803 | | - | |
804 | | - | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
805 | 802 | | |
806 | 803 | | |
807 | 804 | | |
| |||
1079 | 1076 | | |
1080 | 1077 | | |
1081 | 1078 | | |
1082 | | - | |
1083 | 1079 | | |
1084 | 1080 | | |
1085 | 1081 | | |
1086 | 1082 | | |
1087 | 1083 | | |
1088 | 1084 | | |
1089 | 1085 | | |
1090 | | - | |
1091 | 1086 | | |
1092 | 1087 | | |
1093 | 1088 | | |
| |||
0 commit comments