Skip to content

Commit 601f1db

Browse files
sudipm-mukherjeetorvalds
authored andcommitted
m32r: fix m32104ut_defconfig build fail
The build of m32104ut_defconfig for m32r arch was failing for long long time with the error: ERROR: "memory_start" [fs/udf/udf.ko] undefined! ERROR: "memory_end" [fs/udf/udf.ko] undefined! ERROR: "memory_end" [drivers/scsi/sg.ko] undefined! ERROR: "memory_start" [drivers/scsi/sg.ko] undefined! ERROR: "memory_end" [drivers/i2c/i2c-dev.ko] undefined! ERROR: "memory_start" [drivers/i2c/i2c-dev.ko] undefined! As done in other architectures export the symbols to fix the error. Reported-by: Fengguang Wu <[email protected]> Signed-off-by: Sudip Mukherjee <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 7fdec82 commit 601f1db

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/m32r/kernel/setup.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,10 @@ static struct resource code_resource = {
8181
};
8282

8383
unsigned long memory_start;
84+
EXPORT_SYMBOL(memory_start);
85+
8486
unsigned long memory_end;
87+
EXPORT_SYMBOL(memory_end);
8588

8689
void __init setup_arch(char **);
8790
int get_cpuinfo(char *);

0 commit comments

Comments
 (0)