Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1354300
| From | Torsten Duwe <duwe@lst.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [v5][PATCH] livepatch/ppc: Enable livepatching on powerpc |
| Date | 2016-03-09 18:30 +0100 |
| Message-ID | <raQ5Q-2LL-13@gated-at.bofh.it> (permalink) |
| References | <rakpj-6eV-5@gated-at.bofh.it> <rannc-87S-15@gated-at.bofh.it> <raql6-1Bi-59@gated-at.bofh.it> <rarTQ-2Ho-5@gated-at.bofh.it> <raP06-1SG-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Mar 09, 2016 at 05:10:25PM +0100, Petr Mladek wrote:
> On Tue 2016-03-08 16:34:35, Torsten Duwe wrote:
> > /* compile using "-ffixed-r14"! */
> > register unsigned long pass_TOC asm("r14");
>
> BTW: Is this reentrant, please? I mean, is it possible to use this
> hack for two functions? Could the functions call each other?
Yes, it is. pass_TOC isn't really a global variable. It only lives
between the caller and the real function's return. With this notation
the task can easily be shifted to any other register.
Torsten
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[v5][PATCH] livepatch/ppc: Enable livepatching on powerpc Balbir Singh <bsingharora@gmail.com> - 2016-03-08 08:40 +0100
Re: [v5][PATCH] livepatch/ppc: Enable livepatching on powerpc Torsten Duwe <duwe@lst.de> - 2016-03-08 11:50 +0100
Re: [v5][PATCH] livepatch/ppc: Enable livepatching on powerpc Balbir Singh <bsingharora@gmail.com> - 2016-03-08 15:00 +0100
Re: [v5][PATCH] livepatch/ppc: Enable livepatching on powerpc Torsten Duwe <duwe@lst.de> - 2016-03-08 16:40 +0100
Re: [v5][PATCH] livepatch/ppc: Enable livepatching on powerpc Balbir Singh <bsingharora@gmail.com> - 2016-03-09 04:50 +0100
Re: [v5][PATCH] livepatch/ppc: Enable livepatching on powerpc Petr Mladek <pmladek@suse.com> - 2016-03-09 17:20 +0100
Re: [v5][PATCH] livepatch/ppc: Enable livepatching on powerpc Torsten Duwe <duwe@lst.de> - 2016-03-09 18:30 +0100
Re: [v5][PATCH] livepatch/ppc: Enable livepatching on powerpc Petr Mladek <pmladek@suse.com> - 2016-03-08 17:10 +0100
Re: [v5][PATCH] livepatch/ppc: Enable livepatching on powerpc Balbir Singh <bsingharora@gmail.com> - 2016-03-09 04:40 +0100
csiph-web