aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/init.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2012-10-25 14:24:55 +0200
committerJan Beulich <jbeulich@suse.com>2012-10-25 14:24:55 +0200
commit56760f0034771691a8e90f798abbafd99fe697f0 (patch)
tree1aafa22cad425005c05f19e0d4b2b6068258684e /xen/include/xen/init.h
parentb60736c72d1235d75a1b2a0be981aee465a19758 (diff)
downloadxen-56760f0034771691a8e90f798abbafd99fe697f0.tar.gz
xen-56760f0034771691a8e90f798abbafd99fe697f0.tar.bz2
xen-56760f0034771691a8e90f798abbafd99fe697f0.zip
compiler.h adjustments
- replace __attribute_used__ with just __used - add __maybe_unused and explain the difference between the two - remove gcc 3.x specifics (as we don't support building with it anymore; really for quite some time we didn't even support building with the checked for minor versions) - remove left over __setup() from init.h (rather than adjusting it) Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/include/xen/init.h')
-rw-r--r--xen/include/xen/init.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/xen/include/xen/init.h b/xen/include/xen/init.h
index 995bbac445..b602577d02 100644
--- a/xen/include/xen/init.h
+++ b/xen/include/xen/init.h
@@ -114,9 +114,6 @@ extern struct kernel_param __setup_start, __setup_end;
__kparam __setup_##_var = \
{ __setup_str_##_var, OPT_STR, &_var, sizeof(_var) }
-/* Make sure obsolete cmdline params don't break the build. */
-#define __setup(_name, _fn) static void * __attribute_used__ _dummy_##_fn = _fn
-
#endif /* __ASSEMBLY__ */
#ifdef CONFIG_HOTPLUG