Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1273234 > unrolled thread

[PATCH 0/1] async: export current_is_async()

Started byLukas Wunner <lukas@wunner.de>
First post2015-11-19 16:50 +0100
Last post2015-11-19 18:00 +0100
Articles 4 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/1] async: export current_is_async() Lukas Wunner <lukas@wunner.de> - 2015-11-19 16:50 +0100
    [PATCH 1/1] async: export current_is_async() Lukas Wunner <lukas@wunner.de> - 2015-11-19 16:50 +0100
    Re: [PATCH 0/1] async: export current_is_async() Tejun Heo <tj@kernel.org> - 2015-11-19 17:20 +0100
      Re: [Intel-gfx] [PATCH 0/1] async: export current_is_async() Daniel Vetter <daniel@ffwll.ch> - 2015-11-19 18:00 +0100

#1273234 — [PATCH 0/1] async: export current_is_async()

FromLukas Wunner <lukas@wunner.de>
Date2015-11-19 16:50 +0100
Subject[PATCH 0/1] async: export current_is_async()
Message-ID<qwzDc-2M9-27@gated-at.bofh.it>
Hi Tejun,

when you introduced current_is_async() with 84b233adcca3, was it a
deliberate decision not to export it? All other non-static functions
in async.c are exported as well.

I'm asking because I would like to use it in i915.ko.

Thanks,

Lukas


Lukas Wunner (1):
  async: export current_is_async()

 kernel/async.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1273237 — [PATCH 1/1] async: export current_is_async()

FromLukas Wunner <lukas@wunner.de>
Date2015-11-19 16:50 +0100
Subject[PATCH 1/1] async: export current_is_async()
Message-ID<qwzDc-2M9-37@gated-at.bofh.it>
In reply to#1273234
Introduced by 84b233adcca3 ("workqueue: implement current_is_async()").

Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Lukas Wunner <lukas@wunner.de>
---
 kernel/async.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/async.c b/kernel/async.c
index 4c3773c..d2edd6e 100644
--- a/kernel/async.c
+++ b/kernel/async.c
@@ -326,3 +326,4 @@ bool current_is_async(void)
 
 	return worker && worker->current_func == async_run_entry_fn;
 }
+EXPORT_SYMBOL_GPL(current_is_async);
-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1273259

FromTejun Heo <tj@kernel.org>
Date2015-11-19 17:20 +0100
Message-ID<qwA6e-3ds-3@gated-at.bofh.it>
In reply to#1273234
Hello, Lukas.

On Thu, Nov 19, 2015 at 04:31:11PM +0100, Lukas Wunner wrote:
> Hi Tejun,
> 
> when you introduced current_is_async() with 84b233adcca3, was it a
> deliberate decision not to export it? All other non-static functions
> in async.c are exported as well.
> 
> I'm asking because I would like to use it in i915.ko.

There just was no module user at the time.  Please feel free to export
it.

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1273289 — Re: [Intel-gfx] [PATCH 0/1] async: export current_is_async()

FromDaniel Vetter <daniel@ffwll.ch>
Date2015-11-19 18:00 +0100
SubjectRe: [Intel-gfx] [PATCH 0/1] async: export current_is_async()
Message-ID<qwAIW-3r7-23@gated-at.bofh.it>
In reply to#1273259
On Thu, Nov 19, 2015 at 11:10:16AM -0500, Tejun Heo wrote:
> Hello, Lukas.
> 
> On Thu, Nov 19, 2015 at 04:31:11PM +0100, Lukas Wunner wrote:
> > Hi Tejun,
> > 
> > when you introduced current_is_async() with 84b233adcca3, was it a
> > deliberate decision not to export it? All other non-static functions
> > in async.c are exported as well.
> > 
> > I'm asking because I would like to use it in i915.ko.
> 
> There just was no module user at the time.  Please feel free to export
> it.

I take that as an ack to pull Lukas' export patch in through drm-intel
trees.

Thanks, Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web