commit | a5725ac23bf4ff79656ac2c317c323e261327fb3 | [log] [tgz] |
---|---|---|
author | Frederic Weisbecker <[email protected]> | Tue Jul 16 18:50:52 2013 +0200 |
committer | Frederic Weisbecker <[email protected]> | Wed Aug 14 17:14:53 2013 +0200 |
tree | 279ff31bbb6cac44de3c1ef3f66d347da0fe5b36 | |
parent | a703f9b72407d9a4e233f4f6aea1a14ab2b74415 [diff] [blame] |
vtime: Describe overriden functions in dedicated arch headers If the arch overrides some generic vtime APIs, let it describe these on a dedicated and standalone header. This way it becomes convenient to include it in vtime generic headers without irrelevant stuff in such a low level header. Signed-off-by: Frederic Weisbecker <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Paul E. McKenney <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Li Zhong <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Kevin Hilman <[email protected]> Cc: Martin Schwidefsky <[email protected]> Cc: Heiko Carstens <[email protected]>
diff --git a/include/linux/vtime.h b/include/linux/vtime.h index b1dd2db..2ad0739 100644 --- a/include/linux/vtime.h +++ b/include/linux/vtime.h
@@ -1,6 +1,10 @@ #ifndef _LINUX_KERNEL_VTIME_H #define _LINUX_KERNEL_VTIME_H +#ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE +#include <asm/vtime.h> +#endif + struct task_struct; #ifdef CONFIG_VIRT_CPU_ACCOUNTING