Aron Griffis
2008-Mar-01 17:26 UTC
[Xen-devel] [PATCH 0 of 6] Fix linux-2.6.18-xen.hg build on ia64 build using gcc-3.2
These patches are backports from git. They fix compilation of linux-2.6.18-xen.hg on ia64 using gcc-3.2. 6 files changed, 12 insertions(+), 8 deletions(-) drivers/acpi/resources/rsxface.c | 2 -- drivers/input/gameport/gameport.c | 2 -- include/linux/moduleparam.h | 12 +++++++++++- kernel/hrtimer.c | 2 +- net/core/neighbour.c | 1 - net/core/skbuff.c | 1 - _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Aron Griffis
2008-Mar-01 17:26 UTC
[Xen-devel] [PATCH 1 of 6] Fix section type conflict in hrtimer.c
1 file changed, 1 insertion(+), 1 deletion(-)
kernel/hrtimer.c | 2 +-
# HG changeset patch
# User Aron Griffis <aron@hp.com>
# Date 1204392186 18000
# Node ID 3bbd64171a6c9cbfa1486e621c2de0cef698d6bb
# Parent eb906651be99d2e93850f809a70c32bf60881b01
Fix section type conflict in hrtimer.c
Backport from git d316c57ff6bfad9557462b9100f25c6260d2b774
Signed-off-by: Aron Griffis <aron@hp.com>
diff -r eb906651be99 -r 3bbd64171a6c kernel/hrtimer.c
--- a/kernel/hrtimer.c Sat Mar 01 09:19:27 2008 +0000
+++ b/kernel/hrtimer.c Sat Mar 01 12:23:06 2008 -0500
@@ -59,7 +59,7 @@ static ktime_t ktime_get(void)
*
* returns the time in ktime_t format
*/
-static ktime_t ktime_get_real(void)
+ktime_t ktime_get_real(void)
{
struct timespec now;
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Aron Griffis
2008-Mar-01 17:26 UTC
[Xen-devel] [PATCH 2 of 6] Fix section type mismatch in rsxface.c
1 file changed, 2 deletions(-) drivers/acpi/resources/rsxface.c | 2 -- # HG changeset patch # User Aron Griffis <aron@hp.com> # Date 1204392186 18000 # Node ID af1aa1f9d90899ef8026332d6c67175721666a1c # Parent 3bbd64171a6c9cbfa1486e621c2de0cef698d6bb Fix section type mismatch in rsxface.c Backport from git cd5bfea278987ebfe60f3ff92a01696b17c4f978 Signed-off-by: Aron Griffis <aron@hp.com> diff -r 3bbd64171a6c -r af1aa1f9d908 drivers/acpi/resources/rsxface.c --- a/drivers/acpi/resources/rsxface.c Sat Mar 01 12:23:06 2008 -0500 +++ b/drivers/acpi/resources/rsxface.c Sat Mar 01 12:23:06 2008 -0500 @@ -476,8 +476,6 @@ acpi_rs_match_vendor_resource(struct acp return (AE_CTRL_TERMINATE); } -ACPI_EXPORT_SYMBOL(acpi_rs_match_vendor_resource) - /******************************************************************************* * * FUNCTION: acpi_walk_resources _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Aron Griffis
2008-Mar-01 17:26 UTC
[Xen-devel] [PATCH 3 of 6] moduleparam: fix ia64 compile failure
1 file changed, 11 insertions(+), 1 deletion(-)
include/linux/moduleparam.h | 12 +++++++++++-
# HG changeset patch
# User Aron Griffis <aron@hp.com>
# Date 1204392186 18000
# Node ID 48139104906664e9ee9c83a53a45a0c1c61a1200
# Parent af1aa1f9d90899ef8026332d6c67175721666a1c
moduleparam: fix ia64 compile failure
Backport from git 91d35dd93e14c34539a8005183ea500f25caad02
Signed-off-by: Aron Griffis <aron@hp.com>
diff -r af1aa1f9d908 -r 481391049066 include/linux/moduleparam.h
--- a/include/linux/moduleparam.h Sat Mar 01 12:23:06 2008 -0500
+++ b/include/linux/moduleparam.h Sat Mar 01 12:23:06 2008 -0500
@@ -58,13 +58,23 @@ struct kparam_array
void *elem;
};
+/* On alpha, ia64 and ppc64 relocations to global data cannot go into
+ read-only sections (which is part of respective UNIX ABI on these
+ platforms). So ''const'' makes no sense and even causes
compile failures
+ with some compilers. */
+#if defined(CONFIG_ALPHA) || defined(CONFIG_IA64) || defined(CONFIG_PPC64)
+#define __moduleparam_const
+#else
+#define __moduleparam_const const
+#endif
+
/* This is the fundamental function for registering boot/module
parameters. perm sets the visibility in driverfs: 000 means it''s
not there, read bits mean it''s readable, write bits mean
it''s
writable. */
#define __module_param_call(prefix, name, set, get, arg, perm) \
static char __param_str_##name[] = prefix #name; \
- static struct kernel_param const __param_##name \
+ static struct kernel_param __moduleparam_const __param_##name \
__attribute_used__ \
__attribute__ ((unused,__section__
("__param"),aligned(sizeof(void *)))) \
= { __param_str_##name, perm, set, get, arg }
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Aron Griffis
2008-Mar-01 17:26 UTC
[Xen-devel] [PATCH 4 of 6] Fix section type conflict in skbuff.c
1 file changed, 1 deletion(-) net/core/skbuff.c | 1 - # HG changeset patch # User Aron Griffis <aron@hp.com> # Date 1204392186 18000 # Node ID 64ee350b4f8a3a5a5d996072cdf8c444b507b27f # Parent 48139104906664e9ee9c83a53a45a0c1c61a1200 Fix section type conflict in skbuff.c Backport from git 2cd052e44329dd2b42eb958f8f346b053de6e2cd Signed-off-by: Aron Griffis <aron@hp.com> diff -r 481391049066 -r 64ee350b4f8a net/core/skbuff.c --- a/net/core/skbuff.c Sat Mar 01 12:23:06 2008 -0500 +++ b/net/core/skbuff.c Sat Mar 01 12:23:06 2008 -0500 @@ -2076,7 +2076,6 @@ EXPORT_SYMBOL(pskb_expand_head); EXPORT_SYMBOL(pskb_expand_head); EXPORT_SYMBOL(skb_checksum); EXPORT_SYMBOL(skb_clone); -EXPORT_SYMBOL(skb_clone_fraglist); EXPORT_SYMBOL(skb_copy); EXPORT_SYMBOL(skb_copy_and_csum_bits); EXPORT_SYMBOL(skb_copy_and_csum_dev); _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Aron Griffis
2008-Mar-01 17:26 UTC
[Xen-devel] [PATCH 5 of 6] Fix section type mismatch in neighbor.c
1 file changed, 1 deletion(-) net/core/neighbour.c | 1 - # HG changeset patch # User Aron Griffis <aron@hp.com> # Date 1204392186 18000 # Node ID 7f75eee8db633c2172747b0abfb61e4cdd999a42 # Parent 64ee350b4f8a3a5a5d996072cdf8c444b507b27f Fix section type mismatch in neighbor.c Backport from git e92b43a3455d3e817c13481bb3ea3cd29d0a47f4 Signed-off-by: Aron Griffis <aron@hp.com> diff -r 64ee350b4f8a -r 7f75eee8db63 net/core/neighbour.c --- a/net/core/neighbour.c Sat Mar 01 12:23:06 2008 -0500 +++ b/net/core/neighbour.c Sat Mar 01 12:23:06 2008 -0500 @@ -2679,7 +2679,6 @@ EXPORT_SYMBOL(neigh_table_init); EXPORT_SYMBOL(neigh_table_init); EXPORT_SYMBOL(neigh_table_init_no_netlink); EXPORT_SYMBOL(neigh_update); -EXPORT_SYMBOL(neigh_update_hhs); EXPORT_SYMBOL(pneigh_enqueue); EXPORT_SYMBOL(pneigh_lookup); EXPORT_SYMBOL(neightbl_dump_info); _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Aron Griffis
2008-Mar-01 17:26 UTC
[Xen-devel] [PATCH 6 of 6] Fix section type mismatch in gameport.c
1 file changed, 2 deletions(-) drivers/input/gameport/gameport.c | 2 -- # HG changeset patch # User Aron Griffis <aron@hp.com> # Date 1204392186 18000 # Node ID 301f0f2edfb4f4405bd12ddcd7b64d57298b6894 # Parent 7f75eee8db633c2172747b0abfb61e4cdd999a42 Fix section type mismatch in gameport.c Backport from git f5ad58675149077b2046905d54fb831873288058 Signed-off-by: Aron Griffis <aron@hp.com> diff -r 7f75eee8db63 -r 301f0f2edfb4 drivers/input/gameport/gameport.c --- a/drivers/input/gameport/gameport.c Sat Mar 01 12:23:06 2008 -0500 +++ b/drivers/input/gameport/gameport.c Sat Mar 01 12:23:06 2008 -0500 @@ -37,8 +37,6 @@ EXPORT_SYMBOL(gameport_open); EXPORT_SYMBOL(gameport_open); EXPORT_SYMBOL(gameport_close); EXPORT_SYMBOL(gameport_rescan); -EXPORT_SYMBOL(gameport_cooked_read); -EXPORT_SYMBOL(gameport_set_name); EXPORT_SYMBOL(gameport_set_phys); EXPORT_SYMBOL(gameport_start_polling); EXPORT_SYMBOL(gameport_stop_polling); _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel