Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 125416
b: refs/heads/master
c: f634fa9
h: refs/heads/master
v: v3
  • Loading branch information
Jaswinder Singh Rajput authored and Ingo Molnar committed Jan 2, 2009
1 parent 2b4efa2 commit a49416e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a9067d537615d534dcef06c0d819472e43a0d152
refs/heads/master: f634fa941188a91dbf1dab961fe7a4509852fd6e
6 changes: 3 additions & 3 deletions trunk/arch/x86/kernel/cpuid.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@
#include <linux/device.h>
#include <linux/cpu.h>
#include <linux/notifier.h>
#include <linux/uaccess.h>

#include <asm/processor.h>
#include <asm/msr.h>
#include <asm/uaccess.h>
#include <asm/system.h>

static struct class *cpuid_class;
Expand Down Expand Up @@ -82,7 +82,7 @@ static loff_t cpuid_seek(struct file *file, loff_t offset, int orig)
}

static ssize_t cpuid_read(struct file *file, char __user *buf,
size_t count, loff_t * ppos)
size_t count, loff_t *ppos)
{
char __user *tmp = buf;
struct cpuid_regs cmd;
Expand Down Expand Up @@ -117,7 +117,7 @@ static int cpuid_open(struct inode *inode, struct file *file)
unsigned int cpu;
struct cpuinfo_x86 *c;
int ret = 0;

lock_kernel();

cpu = iminor(file->f_path.dentry->d_inode);
Expand Down

0 comments on commit a49416e

Please sign in to comment.