xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ia64: fix build (once more)
@ 2012-03-06 15:13 Jan Beulich
  2012-03-06 16:25 ` Keir Fraser
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Beulich @ 2012-03-06 15:13 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 984 bytes --]

Signed-off-by: Jan Beulich <jbeulich@suse.com>

--- a/xen/arch/ia64/xen/dom0_ops.c
+++ b/xen/arch/ia64/xen/dom0_ops.c
@@ -558,7 +558,7 @@ long arch_do_domctl(xen_domctl_t *op, XE
 
         switch(mec->op)
         {
-            case XEN_DOMCTL_MEM_EVENT_OP_SHARING_CONTROL:
+            case XEN_DOMCTL_MEM_SHARING_CONTROL:
             {
                 if (mec->u.enable) {
                     ret = -EINVAL; /* not implemented */
--- a/xen/common/tmem_xen.c
+++ b/xen/common/tmem_xen.c
@@ -13,7 +13,6 @@
 #include <xen/domain_page.h>
 #include <xen/cpu.h>
 #include <xen/init.h>
-#include <asm/p2m.h>
 
 #define EXPORT /* indicates code other modules are dependent upon */
 
@@ -103,6 +102,8 @@ static inline void cli_put_page(tmem_cli
     ASSERT(0);
 }
 #else
+#include <asm/p2m.h>
+
 static inline void *cli_get_page(tmem_cli_mfn_t cmfn, unsigned long *pcli_mfn,
                                  pfp_t **pcli_pfp, bool_t cli_write)
 {




[-- Attachment #2: ia64-build.patch --]
[-- Type: text/plain, Size: 1009 bytes --]

ia64: fix build (once more)

Signed-off-by: Jan Beulich <jbeulich@suse.com>

--- a/xen/arch/ia64/xen/dom0_ops.c
+++ b/xen/arch/ia64/xen/dom0_ops.c
@@ -558,7 +558,7 @@ long arch_do_domctl(xen_domctl_t *op, XE
 
         switch(mec->op)
         {
-            case XEN_DOMCTL_MEM_EVENT_OP_SHARING_CONTROL:
+            case XEN_DOMCTL_MEM_SHARING_CONTROL:
             {
                 if (mec->u.enable) {
                     ret = -EINVAL; /* not implemented */
--- a/xen/common/tmem_xen.c
+++ b/xen/common/tmem_xen.c
@@ -13,7 +13,6 @@
 #include <xen/domain_page.h>
 #include <xen/cpu.h>
 #include <xen/init.h>
-#include <asm/p2m.h>
 
 #define EXPORT /* indicates code other modules are dependent upon */
 
@@ -103,6 +102,8 @@ static inline void cli_put_page(tmem_cli
     ASSERT(0);
 }
 #else
+#include <asm/p2m.h>
+
 static inline void *cli_get_page(tmem_cli_mfn_t cmfn, unsigned long *pcli_mfn,
                                  pfp_t **pcli_pfp, bool_t cli_write)
 {

[-- Attachment #3: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

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

* Re: [PATCH] ia64: fix build (once more)
  2012-03-06 15:13 [PATCH] ia64: fix build (once more) Jan Beulich
@ 2012-03-06 16:25 ` Keir Fraser
  2012-03-06 17:23   ` Jan Beulich
  0 siblings, 1 reply; 3+ messages in thread
From: Keir Fraser @ 2012-03-06 16:25 UTC (permalink / raw)
  To: Jan Beulich, xen-devel

On 06/03/2012 15:13, "Jan Beulich" <JBeulich@suse.com> wrote:

> Signed-off-by: Jan Beulich <jbeulich@suse.com>

Did we decide it was pointless me Acking IA64 fixup patches?

 K.

> --- a/xen/arch/ia64/xen/dom0_ops.c
> +++ b/xen/arch/ia64/xen/dom0_ops.c
> @@ -558,7 +558,7 @@ long arch_do_domctl(xen_domctl_t *op, XE
>  
>          switch(mec->op)
>          {
> -            case XEN_DOMCTL_MEM_EVENT_OP_SHARING_CONTROL:
> +            case XEN_DOMCTL_MEM_SHARING_CONTROL:
>              {
>                  if (mec->u.enable) {
>                      ret = -EINVAL; /* not implemented */
> --- a/xen/common/tmem_xen.c
> +++ b/xen/common/tmem_xen.c
> @@ -13,7 +13,6 @@
>  #include <xen/domain_page.h>
>  #include <xen/cpu.h>
>  #include <xen/init.h>
> -#include <asm/p2m.h>
>  
>  #define EXPORT /* indicates code other modules are dependent upon */
>  
> @@ -103,6 +102,8 @@ static inline void cli_put_page(tmem_cli
>      ASSERT(0);
>  }
>  #else
> +#include <asm/p2m.h>
> +
>  static inline void *cli_get_page(tmem_cli_mfn_t cmfn, unsigned long
> *pcli_mfn,
>                                   pfp_t **pcli_pfp, bool_t cli_write)
>  {
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

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

* Re: [PATCH] ia64: fix build (once more)
  2012-03-06 16:25 ` Keir Fraser
@ 2012-03-06 17:23   ` Jan Beulich
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Beulich @ 2012-03-06 17:23 UTC (permalink / raw)
  To: Keir Fraser; +Cc: xen-devel

>>> On 06.03.12 at 17:25, Keir Fraser <keir@xen.org> wrote:
> On 06/03/2012 15:13, "Jan Beulich" <JBeulich@suse.com> wrote:
> 
>> Signed-off-by: Jan Beulich <jbeulich@suse.com>
> 
> Did we decide it was pointless me Acking IA64 fixup patches?

You said you wouldn't ack them, and then continued to nevertheless.
My preference would be to have an ack unless it's only arch/ia64/
or include/asm-ia64/ that's being touched. But for trivial changes
like the one at hand I'd otherwise simply wait a day and commit
without ack when no negative comments come back.

Jan

>> --- a/xen/arch/ia64/xen/dom0_ops.c
>> +++ b/xen/arch/ia64/xen/dom0_ops.c
>> @@ -558,7 +558,7 @@ long arch_do_domctl(xen_domctl_t *op, XE
>>  
>>          switch(mec->op)
>>          {
>> -            case XEN_DOMCTL_MEM_EVENT_OP_SHARING_CONTROL:
>> +            case XEN_DOMCTL_MEM_SHARING_CONTROL:
>>              {
>>                  if (mec->u.enable) {
>>                      ret = -EINVAL; /* not implemented */
>> --- a/xen/common/tmem_xen.c
>> +++ b/xen/common/tmem_xen.c
>> @@ -13,7 +13,6 @@
>>  #include <xen/domain_page.h>
>>  #include <xen/cpu.h>
>>  #include <xen/init.h>
>> -#include <asm/p2m.h>
>>  
>>  #define EXPORT /* indicates code other modules are dependent upon */
>>  
>> @@ -103,6 +102,8 @@ static inline void cli_put_page(tmem_cli
>>      ASSERT(0);
>>  }
>>  #else
>> +#include <asm/p2m.h>
>> +
>>  static inline void *cli_get_page(tmem_cli_mfn_t cmfn, unsigned long
>> *pcli_mfn,
>>                                   pfp_t **pcli_pfp, bool_t cli_write)
>>  {
>> 
>> 
>> 
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xen.org 
>> http://lists.xen.org/xen-devel 

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

end of thread, other threads:[~2012-03-06 17:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-06 15:13 [PATCH] ia64: fix build (once more) Jan Beulich
2012-03-06 16:25 ` Keir Fraser
2012-03-06 17:23   ` Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).