Skip to content
Commit 6042d434 authored by Hao Chen's avatar Hao Chen Committed by David S. Miller
Browse files

net: e1000e: solve insmod 'Unknown symbol mutex_lock' error



After I turn on the CONFIG_LOCK_STAT=y, insmod e1000e.ko will report:
[    5.641579] e1000e: Unknown symbol mutex_lock (err -2)
[   90.775705] e1000e: Unknown symbol mutex_lock (err -2)
[  132.252339] e1000e: Unknown symbol mutex_lock (err -2)

This problem fixed after include <linux/mutex.h>.

Signed-off-by: default avatarHao Chen <chenhaoa@uniontech.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 61524e43
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment