Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80029
b: refs/heads/master
c: 746ff60
h: refs/heads/master
i:
  80027: a4bcc5c
v: v3
  • Loading branch information
Glauber de Oliveira Costa authored and Ingo Molnar committed Jan 30, 2008
1 parent c84b528 commit ad8df38
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 13 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: 053de044411111da00272d1b4e174e7dd743f499
refs/heads/master: 746ff60f2627626fca0d8ddbf6b1f04d505782f4
6 changes: 6 additions & 0 deletions trunk/include/asm-x86/desc.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ static inline void pack_gate(gate_desc *gate, unsigned char type,

#endif

static inline int desc_empty(const void *ptr)
{
const u32 *desc = ptr;
return !(desc[0] | desc[1]);
}

#ifdef CONFIG_PARAVIRT
#include <asm/paravirt.h>
#else
Expand Down
6 changes: 0 additions & 6 deletions trunk/include/asm-x86/processor_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@
#include <linux/init.h>
#include <asm/desc_defs.h>

static inline int desc_empty(const void *ptr)
{
const u32 *desc = ptr;
return !(desc[0] | desc[1]);
}

/*
* Default implementation of macro that returns current
* instruction pointer ("program counter").
Expand Down
6 changes: 0 additions & 6 deletions trunk/include/asm-x86/processor_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@
#include <linux/cpumask.h>
#include <asm/desc_defs.h>

static inline int desc_empty(const void *ptr)
{
const u32 *desc = ptr;
return !(desc[0] | desc[1]);
}

/*
* Default implementation of macro that returns current
* instruction pointer ("program counter").
Expand Down

0 comments on commit ad8df38

Please sign in to comment.