Commit ddb82fa
committed
ASoC: SOF: trace: fix linker error in i386 mode
64-bit division or modulo needs to rely on do_div, cannot use / or %
in 32-bit mode
Fixes linker error
ERROR: "__moddi3" [sound/soc/sof/snd-sof.ko] undefined!
scripts/Makefile.modpost:92: recipe for target '__modpost' failed
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>1 parent d6420ae commit ddb82fa
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| |||
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
87 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
88 | 91 | | |
89 | 92 | | |
90 | 93 | | |
| |||
0 commit comments