ia64/xen-unstable

changeset 3341:1c1c7c231198

bitkeeper revision 1.1159.170.71 (41d2d2214KOuM-HBckYg9I4kQVczaA)

Fix build.
author kaf24@scramble.cl.cam.ac.uk
date Wed Dec 29 15:49:53 2004 +0000 (2004-12-29)
parents 4b44501cd54c
children a5ec6d0d2e4c e57bbce13b4a
files xen/include/xen/init.h
line diff
     1.1 --- a/xen/include/xen/init.h	Wed Dec 29 15:16:58 2004 +0000
     1.2 +++ b/xen/include/xen/init.h	Wed Dec 29 15:49:53 2004 +0000
     1.3 @@ -78,7 +78,8 @@ extern struct kernel_param __setup_start
     1.4      static struct kernel_param __setup_##_var __attribute_used__ \
     1.5          __initsetup = { __setup_str_##_var, OPT_STR, &_var, sizeof(_var) }
     1.6  
     1.7 -#define __setup(_name, _fn)
     1.8 +/* Make sure obsolete cmdline params don't break the build. */
     1.9 +#define __setup(_name, _fn) static void * __attribute_used__ _dummy_##_fn = _fn
    1.10      
    1.11  #endif /* __ASSEMBLY__ */
    1.12