Skip to contentSkip to conversation

Export Xen driver util function symbols so that Xen drivers

Xen-changelog Muli Ben-Yehuda 2 participants 4 messages Jan 25, 2006 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 13 lines · Xen patchbot -unstable

# HG changeset patch
# User [email protected]
# Node ID 709bce2f08d6024c2efb2938e564915da1ca51f2 # Parent aad2b2da3c8beda24bc62ca6e92b28c28def0849 Export Xen driver util function symbols so that Xen drivers can build as modules.

diff -r aad2b2da3c8b -r 709bce2f08d6 linux-2.6-xen-sparse/drivers/xen/util.c

linux-2.6-xen-sparse/drivers/xen/util.c line 34

Quoted 4 lines
linux-2.6-xen-sparse/drivers/xen/util.c +1 -0
@@ -31,6 +31,7 @@
 
 	return area;
 }
+EXPORT_SYMBOL(alloc_vm_area);

Should this be EXPORT_SYMBOL_GPL?

Cheers,
Muli

Signature · 2 lines
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/
#2 lore raw
Quoted 10 lines · Muli Ben-Yehuda

linux-2.6-xen-sparse/drivers/xen/util.c line 34

Quoted 8 lines

diff -r aad2b2da3c8b -r 709bce2f08d6 linux-2.6-xen-sparse/drivers/xen/util.c

linux-2.6-xen-sparse/drivers/xen/util.c +1 -0
@@ -31,6 +31,7 @@
 
 	return area;
 }
+EXPORT_SYMBOL(alloc_vm_area);

Should this be EXPORT_SYMBOL_GPL?

Possibly. Because those functions make use of internal non-exported Linux functions?

-- Keir

#3 lore raw
Quoted 2 lines · Keir Fraser

Possibly. Because those functions make use of internal non-exported Linux functions?

That's one reason, the other is a statement that the authors of this code are not OK with binary only modules (using it).

Cheers,
Muli

Signature · 2 lines
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/
#4 lore raw
Quoted 5 lines · Muli Ben-Yehuda
Quoted 2 lines

Possibly. Because those functions make use of internal non-exported Linux functions?

That's one reason, the other is a statement that the authors of this code are not OK with binary only modules (using it).

Personally, I don't care. Especially for trivial util functions. :-)

-- Keir