linux-hexagon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Revert "Hexagon: fix signal.c compile error"
@ 2015-04-23  1:28 Mike Frysinger
  2015-04-23 20:40 ` rkuo
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Frysinger @ 2015-04-23  1:28 UTC (permalink / raw)
  To: rkuo; +Cc: linux-hexagon

This reverts commit f3f601c1d2728f02544cfd143eaa82e5398b3e9b.

UAPI headers cannot use "uapi/" in their paths by design -- when they're
installed, they do not have the uapi/ prefix.  Otherwise doing so breaks
userland badly.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 arch/hexagon/include/uapi/asm/signal.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/hexagon/include/uapi/asm/signal.h b/arch/hexagon/include/uapi/asm/signal.h
index 98106e5..24b9988 100644
--- a/arch/hexagon/include/uapi/asm/signal.h
+++ b/arch/hexagon/include/uapi/asm/signal.h
@@ -19,8 +19,6 @@
 #ifndef _ASM_SIGNAL_H
 #define _ASM_SIGNAL_H
 
-#include <uapi/asm/registers.h>
-
 extern unsigned long __rt_sigtramp_template[2];
 
 void do_signal(struct pt_regs *regs);
-- 
2.3.5

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

* Re: [PATCH] Revert "Hexagon: fix signal.c compile error"
  2015-04-23  1:28 [PATCH] Revert "Hexagon: fix signal.c compile error" Mike Frysinger
@ 2015-04-23 20:40 ` rkuo
  2015-04-24  3:59   ` Mike Frysinger
  0 siblings, 1 reply; 3+ messages in thread
From: rkuo @ 2015-04-23 20:40 UTC (permalink / raw)
  To: Mike Frysinger; +Cc: linux-hexagon

On Wed, Apr 22, 2015 at 09:28:04PM -0400, Mike Frysinger wrote:
> This reverts commit f3f601c1d2728f02544cfd143eaa82e5398b3e9b.
> 
> UAPI headers cannot use "uapi/" in their paths by design -- when they're
> installed, they do not have the uapi/ prefix.  Otherwise doing so breaks
> userland badly.
> 
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
> ---
>  arch/hexagon/include/uapi/asm/signal.h | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/arch/hexagon/include/uapi/asm/signal.h b/arch/hexagon/include/uapi/asm/signal.h
> index 98106e5..24b9988 100644
> --- a/arch/hexagon/include/uapi/asm/signal.h
> +++ b/arch/hexagon/include/uapi/asm/signal.h
> @@ -19,8 +19,6 @@
>  #ifndef _ASM_SIGNAL_H
>  #define _ASM_SIGNAL_H
>  
> -#include <uapi/asm/registers.h>
> -
>  extern unsigned long __rt_sigtramp_template[2];
>  
>  void do_signal(struct pt_regs *regs);
> -- 
> 2.3.5
> 

I'll need to actually fix the thing the original commit was trying to fix,
but I can follow up with another patch.

Thanks!

Acked-by: Richard Kuo <rkuo@codeaurora.org>


-- 
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, 
a Linux Foundation Collaborative Project

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

* Re: [PATCH] Revert "Hexagon: fix signal.c compile error"
  2015-04-23 20:40 ` rkuo
@ 2015-04-24  3:59   ` Mike Frysinger
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Frysinger @ 2015-04-24  3:59 UTC (permalink / raw)
  To: rkuo; +Cc: linux-hexagon

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

On 23 Apr 2015 15:40, rkuo wrote:
> On Wed, Apr 22, 2015 at 09:28:04PM -0400, Mike Frysinger wrote:
> > This reverts commit f3f601c1d2728f02544cfd143eaa82e5398b3e9b.
> > 
> > UAPI headers cannot use "uapi/" in their paths by design -- when they're
> > installed, they do not have the uapi/ prefix.  Otherwise doing so breaks
> > userland badly.
> > 
> > Signed-off-by: Mike Frysinger <vapier@gentoo.org>
> > ---
> >  arch/hexagon/include/uapi/asm/signal.h | 2 --
> >  1 file changed, 2 deletions(-)
> > 
> > diff --git a/arch/hexagon/include/uapi/asm/signal.h b/arch/hexagon/include/uapi/asm/signal.h
> > index 98106e5..24b9988 100644
> > --- a/arch/hexagon/include/uapi/asm/signal.h
> > +++ b/arch/hexagon/include/uapi/asm/signal.h
> > @@ -19,8 +19,6 @@
> >  #ifndef _ASM_SIGNAL_H
> >  #define _ASM_SIGNAL_H
> >  
> > -#include <uapi/asm/registers.h>
> > -
> >  extern unsigned long __rt_sigtramp_template[2];
> >  
> >  void do_signal(struct pt_regs *regs);
> > -- 
> > 2.3.5
> > 
> 
> I'll need to actually fix the thing the original commit was trying to fix,
> but I can follow up with another patch.

i was throwing the revert up as a straw man of sorts.  i've never used hexagon 
myself, so if someone wants to put together a better fix, then by all means.
-mike

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

end of thread, other threads:[~2015-04-24  3:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-23  1:28 [PATCH] Revert "Hexagon: fix signal.c compile error" Mike Frysinger
2015-04-23 20:40 ` rkuo
2015-04-24  3:59   ` Mike Frysinger

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).