···4646#include <linux/completion.h>4747#include <linux/proc_fs.h>4848#include <linux/seq_file.h>4949+#include <linux/smp_lock.h>49505051#include <asm/uaccess.h>5152#include <asm/ioctls.h>···688687 if (op == NULL)689688 return -ENOMEM;690689690690+ lock_kernel()691691 get_dev_info(file->f_path.dentry->d_inode, &devi);692692693693 /* Note: We currently only support one mode! */···719717720718free_op:721719 free_op_struct(op);720720+ unlock_kernel();722721 return ret;723722}724723