OpenVZ Forum


Home » Mailing lists » Devel » PPC64 2.6.18 kernel compilation fix
PPC64 2.6.18 kernel compilation fix [message #13310] Thu, 24 May 2007 14:43 Go to next message
Christian Kaiser2 is currently offline  Christian Kaiser2
Messages: 27
Registered: May 2007
Junior Member
Hi all,

here is first one fix for the current 2.6.18-openvz kernel:

diff --git a/include/asm-powerpc/current.h b/include/asm-powerpc/current.h
index b8708ae..e78c677 100644
--- a/include/asm-powerpc/current.h
+++ b/include/asm-powerpc/current.h
@@ -13,6 +13,7 @@ struct task_struct;

#ifdef __powerpc64__
#include <asm/paca.h>
+#include <linux/stddef.h>

static inline struct task_struct *get_current(void)
{

Mit freundlichen Grüßen / Best Regards
Christian Kaiser
--
IBM Deutschland Entwicklung GmbH
Open Systems Firmware Development
mail: ckaiser2@de.ibm.com

IBM Deutschland Entwicklung GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Herbert Kircher
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294
Re: PPC64 2.6.18 kernel compilation fix [message #13312 is a reply to message #13310] Thu, 24 May 2007 15:35 Go to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

yes, thanks.
I commited this:
http://git.openvz.org/?p=linux-2.6.18-openvz;a=commitdiff;h=a2eac3fd8bae65547195479e919b84e06ddd54f3

And Kir commited vzctl fix for configure.ac

Thanks for your reports,
Kirill


Christian Kaiser2 wrote:
> Hi all,
>
> here is first one fix for the current 2.6.18-openvz kernel:
>
> diff --git a/include/asm-powerpc/current.h b/include/asm-powerpc/current.h
> index b8708ae..e78c677 100644
> --- a/include/asm-powerpc/current.h
> +++ b/include/asm-powerpc/current.h
> @@ -13,6 +13,7 @@ struct task_struct;
>
> #ifdef __powerpc64__
> #include <asm/paca.h>
> +#include <linux/stddef.h>
>
> static inline struct task_struct *get_current(void)
> {
>
> Mit freundlichen Grüßen / Best Regards
> Christian Kaiser
> --
> IBM Deutschland Entwicklung GmbH
> Open Systems Firmware Development
> mail: ckaiser2@de.ibm.com
>
> IBM Deutschland Entwicklung GmbH
> Vorsitzender des Aufsichtsrats: Martin Jetter
> Geschäftsführung: Herbert Kircher
> Sitz der Gesellschaft: Böblingen
> Registergericht: Amtsgericht Stuttgart, HRB 243294
>
>
Previous Topic: LTP: serge2 hostname
Next Topic: [RFC][PATCH] Per container statistics
Goto Forum:
  


Current Time: Sun Apr 28 16:33:33 GMT 2024

Total time taken to generate the page: 0.02189 seconds