Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73399
b: refs/heads/master
c: 4e2947f
h: refs/heads/master
i:
  73397: e959922
  73395: ed4462e
  73391: a7814db
v: v3
  • Loading branch information
Ingo Molnar committed Nov 9, 2007
1 parent 0758aa7 commit 7a98f08
Show file tree
Hide file tree
Showing 2 changed files with 3 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: d6322faf296ab5bbb597f8b0abcb50153754cd08
refs/heads/master: 4e2947f12516d13446d6ffa1d9e4fbd33b1636fa
6 changes: 2 additions & 4 deletions trunk/arch/x86/kernel/cpu/mtrr/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,12 @@ struct set_mtrr_data {
mtrr_type smp_type;
};

#ifdef CONFIG_SMP

static void ipi_handler(void *info)
/* [SUMMARY] Synchronisation handler. Executed by "other" CPUs.
[RETURNS] Nothing.
*/
{
#ifdef CONFIG_SMP
struct set_mtrr_data *data = info;
unsigned long flags;

Expand All @@ -168,9 +167,8 @@ static void ipi_handler(void *info)

atomic_dec(&data->count);
local_irq_restore(flags);
}

#endif
}

static inline int types_compatible(mtrr_type type1, mtrr_type type2) {
return type1 == MTRR_TYPE_UNCACHABLE ||
Expand Down

0 comments on commit 7a98f08

Please sign in to comment.