Skip to content

kernels before 3.17 don't export ktime_divns() #2

@thomasjfox

Description

@thomasjfox

Hi Karsten,

mISDN git HEAD (currently 2edcc9c) compiles fine with kernel 3.14.x.

Loading the mISDN_core module fails with "undefined symbol ktime_divns" though.

I've tracked it down: The EXPORT_SYMBOL_GPL in kernel/hrtimer.c (or kernel/time/hrtimer.c) was introduced in kernel 3.17 only with upstream commit 166afb64511eef08e13331b970c44fe91cea45ef ("ktime: Sanitize ktime_to_us/ms conversion")

Therefore I think all kernels before 3.17 need the Revert_693a012bf96b18b00ee4da2e027b11da11b1f9f4.patch file applied?

Personally I'll just patch my 3.14 kernel to add EXPORT_SYMBOL_GPL(ktime_divns),
that's what some -stable updates were doing anyway:
http://www.mail-archive.com/[email protected]/msg1189362.html

Cheers,
Thomas

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions