Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 125224
b: refs/heads/master
c: 30ed5bb
h: refs/heads/master
v: v3
  • Loading branch information
Xiantao Zhang authored and Avi Kivity committed Dec 31, 2008
1 parent 3b7276b commit 7b311df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 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: 74ef740da64fd82a14dbab6d7f43d798ecc1b6cc
refs/heads/master: 30ed5bb685ab03c9bdf812502900b65087d61490
11 changes: 1 addition & 10 deletions trunk/arch/ia64/kvm/asm-offsets.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,10 @@

#include <linux/autoconf.h>
#include <linux/kvm_host.h>
#include <linux/kbuild.h>

#include "vcpu.h"

#define task_struct kvm_vcpu

#define DEFINE(sym, val) \
asm volatile("\n->" #sym " (%0) " #val : : "i" (val))

#define BLANK() asm volatile("\n->" : :)

#define OFFSET(_sym, _str, _mem) \
DEFINE(_sym, offsetof(_str, _mem));

void foo(void)
{
DEFINE(VMM_TASK_SIZE, sizeof(struct kvm_vcpu));
Expand Down

0 comments on commit 7b311df

Please sign in to comment.