All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kvmtrace: fix ktime_t type usage in kvm.h
@ 2008-07-15  8:21 ` ehrhardt
  0 siblings, 0 replies; 4+ messages in thread
From: ehrhardt @ 2008-07-15  8:21 UTC (permalink / raw)
  To: kvm; +Cc: hollisb, avi, kvm-ppc, ehrhardt, borntraeger

From: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>

This is a small but important change I unfortunately lost in one of my
debugging patches which actually should only contain some printf's.
This patch adds the ktime header since we now use ktime_t in this kvm.h.
Even with all my tests I missed that, sorry for the inconvenience.

Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
---

[diffstat]
 kvm.h |    1 +
 1 file changed, 1 insertion(+)

[diff]
diff --git a/include/linux/kvm.h b/include/linux/kvm.h
--- a/include/linux/kvm.h
+++ b/include/linux/kvm.h
@@ -10,6 +10,7 @@
 #include <asm/types.h>
 #include <linux/compiler.h>
 #include <linux/ioctl.h>
+#include <linux/ktime.h>
 #include <asm/kvm.h>
 
 #define KVM_API_VERSION 12

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] kvmtrace: fix ktime_t type usage in kvm.h
@ 2008-07-15  8:21 ` ehrhardt
  0 siblings, 0 replies; 4+ messages in thread
From: ehrhardt @ 2008-07-15  8:21 UTC (permalink / raw)
  To: kvm; +Cc: hollisb, avi, kvm-ppc, ehrhardt, borntraeger

From: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>

This is a small but important change I unfortunately lost in one of my
debugging patches which actually should only contain some printf's.
This patch adds the ktime header since we now use ktime_t in this kvm.h.
Even with all my tests I missed that, sorry for the inconvenience.

Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
---

[diffstat]
 kvm.h |    1 +
 1 file changed, 1 insertion(+)

[diff]
diff --git a/include/linux/kvm.h b/include/linux/kvm.h
--- a/include/linux/kvm.h
+++ b/include/linux/kvm.h
@@ -10,6 +10,7 @@
 #include <asm/types.h>
 #include <linux/compiler.h>
 #include <linux/ioctl.h>
+#include <linux/ktime.h>
 #include <asm/kvm.h>
 
 #define KVM_API_VERSION 12

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] kvmtrace: fix ktime_t type usage in kvm.h
  2008-07-15  8:21 ` ehrhardt
@ 2008-07-15  8:54   ` Avi Kivity
  -1 siblings, 0 replies; 4+ messages in thread
From: Avi Kivity @ 2008-07-15  8:54 UTC (permalink / raw)
  To: ehrhardt; +Cc: kvm, hollisb, kvm-ppc, borntraeger

ehrhardt@linux.vnet.ibm.com wrote:
> From: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
>
> This is a small but important change I unfortunately lost in one of my
> debugging patches which actually should only contain some printf's.
> This patch adds the ktime header since we now use ktime_t in this kvm.h.
> Even with all my tests I missed that, sorry for the inconvenience.
>
>   

ktime_t is kernel internal anyway.  I converted kvmtrace to use a u64 
nsec timestamp.

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] kvmtrace: fix ktime_t type usage in kvm.h
@ 2008-07-15  8:54   ` Avi Kivity
  0 siblings, 0 replies; 4+ messages in thread
From: Avi Kivity @ 2008-07-15  8:54 UTC (permalink / raw)
  To: ehrhardt; +Cc: kvm, hollisb, kvm-ppc, borntraeger

ehrhardt@linux.vnet.ibm.com wrote:
> From: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
>
> This is a small but important change I unfortunately lost in one of my
> debugging patches which actually should only contain some printf's.
> This patch adds the ktime header since we now use ktime_t in this kvm.h.
> Even with all my tests I missed that, sorry for the inconvenience.
>
>   

ktime_t is kernel internal anyway.  I converted kvmtrace to use a u64 
nsec timestamp.

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-07-15  8:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-15  8:21 [PATCH] kvmtrace: fix ktime_t type usage in kvm.h ehrhardt
2008-07-15  8:21 ` ehrhardt
2008-07-15  8:54 ` Avi Kivity
2008-07-15  8:54   ` Avi Kivity

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.