Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1667331 > unrolled thread
| Started by | Florian Fainelli <f.fainelli@gmail.com> |
|---|---|
| First post | 2017-06-16 01:30 +0200 |
| Last post | 2017-06-16 10:40 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH 1/3] ARM: Generalize fncpy implementation Florian Fainelli <f.fainelli@gmail.com> - 2017-06-16 01:30 +0200
Re: [PATCH 1/3] ARM: Generalize fncpy implementation Tony Lindgren <tony@atomide.com> - 2017-06-16 10:40 +0200
| From | Florian Fainelli <f.fainelli@gmail.com> |
|---|---|
| Date | 2017-06-16 01:30 +0200 |
| Subject | Re: [PATCH 1/3] ARM: Generalize fncpy implementation |
| Message-ID | <tSMn7-tC-1@gated-at.bofh.it> |
On 06/15/2017 04:21 PM, Florian Fainelli wrote: > ARM's fncpy implementation is actually suitable for a large number of > platforms since the only assumption it makes is just the function's > alignment (8 bytes) which also happens to fulfil other architectures, > including but not limited to ARM64. > > Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> > --- > arch/arm/include/asm/fncpy.h | 77 ++---------------------------------- > include/asm-generic/fncpy.h | 94 ++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 97 insertions(+), 74 deletions(-) > create mode 100644 include/asm-generic/fncpy.h > > diff --git a/arch/arm/include/asm/fncpy.h b/arch/arm/include/asm/fncpy.h > index de5354746924..32465aef7932 100644 > --- a/arch/arm/include/asm/fncpy.h > +++ b/arch/arm/include/asm/fncpy.h > @@ -16,79 +16,8 @@ > * along with this program; if not, write to the Free Software > * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > */ > +#ifndef _ASMARM_FNCPY_H and of course I missed a #define _ASMARM_FNCPY_H I will wait for feedback on whether this is acceptable before resubmitting... -- Florian
[toc] | [next] | [standalone]
| From | Tony Lindgren <tony@atomide.com> |
|---|---|
| Date | 2017-06-16 10:40 +0200 |
| Message-ID | <tSUXo-63M-5@gated-at.bofh.it> |
| In reply to | #1667331 |
* Florian Fainelli <f.fainelli@gmail.com> [170615 16:27]: > On 06/15/2017 04:21 PM, Florian Fainelli wrote: > > ARM's fncpy implementation is actually suitable for a large number of > > platforms since the only assumption it makes is just the function's > > alignment (8 bytes) which also happens to fulfil other architectures, > > including but not limited to ARM64. Yeah I'm all for it. Maybe mention in the next version that this helps with making SoC specific PM code into just regular Linux device drivers. Regards, Tony
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web