Skip to content

Commit c2613c7

Browse files
antonblanchardozbenh
authored andcommitted
powerpc/defconfigs: Reduce 64bit vmlinux by making acenic and cramfs modules
Machines with acenic adapters are rare these days, so we may as well make it a module. Cramfs is also very rarely used so we can make it a module. Together this saves 143kB on a 64bit compile: text data bss dec hex filename 8247176 1729404 1221988 11198568 aae068 vmlinux~ 8134997 1727588 1188836 11051421 a8a19d vmlinux Signed-off-by: Anton Blanchard <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
1 parent 8a55c4b commit c2613c7

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

arch/powerpc/configs/g5_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ CONFIG_SUNGEM=y
757757
# CONFIG_B44 is not set
758758
# CONFIG_ATL2 is not set
759759
CONFIG_NETDEV_1000=y
760-
CONFIG_ACENIC=y
760+
CONFIG_ACENIC=m
761761
CONFIG_ACENIC_OMIT_TIGON_I=y
762762
# CONFIG_DL2K is not set
763763
CONFIG_E1000=y

arch/powerpc/configs/ppc64_defconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@ CONFIG_E100=y
980980
# CONFIG_SC92031 is not set
981981
# CONFIG_ATL2 is not set
982982
CONFIG_NETDEV_1000=y
983-
CONFIG_ACENIC=y
983+
CONFIG_ACENIC=m
984984
CONFIG_ACENIC_OMIT_TIGON_I=y
985985
# CONFIG_DL2K is not set
986986
CONFIG_E1000=y
@@ -1863,7 +1863,7 @@ CONFIG_HFSPLUS_FS=m
18631863
# CONFIG_BEFS_FS is not set
18641864
# CONFIG_BFS_FS is not set
18651865
# CONFIG_EFS_FS is not set
1866-
CONFIG_CRAMFS=y
1866+
CONFIG_CRAMFS=m
18671867
# CONFIG_VXFS_FS is not set
18681868
# CONFIG_MINIX_FS is not set
18691869
# CONFIG_OMFS_FS is not set

arch/powerpc/configs/pseries_defconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ CONFIG_E100=y
796796
# CONFIG_NET_POCKET is not set
797797
# CONFIG_ATL2 is not set
798798
CONFIG_NETDEV_1000=y
799-
CONFIG_ACENIC=y
799+
CONFIG_ACENIC=m
800800
CONFIG_ACENIC_OMIT_TIGON_I=y
801801
# CONFIG_DL2K is not set
802802
CONFIG_E1000=y
@@ -1494,7 +1494,7 @@ CONFIG_CONFIGFS_FS=m
14941494
# CONFIG_BEFS_FS is not set
14951495
# CONFIG_BFS_FS is not set
14961496
# CONFIG_EFS_FS is not set
1497-
CONFIG_CRAMFS=y
1497+
CONFIG_CRAMFS=m
14981498
# CONFIG_VXFS_FS is not set
14991499
# CONFIG_MINIX_FS is not set
15001500
# CONFIG_OMFS_FS is not set

0 commit comments

Comments
 (0)