Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356286
b: refs/heads/master
c: 066361a
h: refs/heads/master
v: v3
  • Loading branch information
Mike Galbraith authored and Ingo Molnar committed Feb 19, 2013
1 parent 4f260f5 commit 0a746b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: eece09ec213e93333010bf4c6bb9175b32229c54
refs/heads/master: 066361a7c58cb6c8b18c7ce0ee8527bb1ce58460
8 changes: 4 additions & 4 deletions trunk/drivers/idle/i7300_idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ static unsigned long past_skip;

static struct pci_dev *fbd_dev;

static spinlock_t i7300_idle_lock;
static raw_spinlock_t i7300_idle_lock;
static int i7300_idle_active;

static u8 i7300_idle_thrtctl_saved;
Expand Down Expand Up @@ -457,7 +457,7 @@ static int i7300_idle_notifier(struct notifier_block *nb, unsigned long val,
idle_begin_time = ktime_get();
}

spin_lock_irqsave(&i7300_idle_lock, flags);
raw_spin_lock_irqsave(&i7300_idle_lock, flags);
if (val == IDLE_START) {

cpumask_set_cpu(smp_processor_id(), idle_cpumask);
Expand Down Expand Up @@ -506,7 +506,7 @@ static int i7300_idle_notifier(struct notifier_block *nb, unsigned long val,
}
}
end:
spin_unlock_irqrestore(&i7300_idle_lock, flags);
raw_spin_unlock_irqrestore(&i7300_idle_lock, flags);
return 0;
}

Expand Down Expand Up @@ -548,7 +548,7 @@ struct debugfs_file_info {

static int __init i7300_idle_init(void)
{
spin_lock_init(&i7300_idle_lock);
raw_spin_lock_init(&i7300_idle_lock);
total_us = 0;

if (i7300_idle_platform_probe(&fbd_dev, &ioat_dev, forceload))
Expand Down

0 comments on commit 0a746b8

Please sign in to comment.