Re: [patch 3/6] sclp: call sclp_init() from start_kernel().

2007-11-16 Thread Bastian Blank
On Fri, Nov 16, 2007 at 03:29:45PM +0100, Martin Schwidefsky wrote: > #else > static inline void acpi_early_init(void) { } > #endif > +#ifdef CONFIG_S390 > +extern int sclp_init(void); > +#else > +static inline int sclp_init(void) {return 0;} > +#endif > #ifndef CONFIG_DEBUG_RODATA > static

Re: [patch 3/6] sclp: call sclp_init() from start_kernel().

2007-11-16 Thread Heiko Carstens
On Fri, Nov 16, 2007 at 04:09:42PM +0100, Bastian Blank wrote: > On Fri, Nov 16, 2007 at 03:29:45PM +0100, Martin Schwidefsky wrote: > > #else > > static inline void acpi_early_init(void) { } > > #endif > > +#ifdef CONFIG_S390 > > +extern int sclp_init(void); > > +#else > > +static inline int

[patch 3/6] sclp: call sclp_init() from start_kernel().

2007-11-16 Thread Martin Schwidefsky
From: Heiko Carstens <[EMAIL PROTECTED]> This is needed since the sclp must be initialized before cpus are brought online and after interrupts are enabled. The sclp interface is used figure out which cpus are present and can be brought online. Adding an sclp_init() call to __cpu_up() is not a

Re: [patch 3/6] sclp: call sclp_init() from start_kernel().

2007-11-16 Thread Heiko Carstens
On Fri, Nov 16, 2007 at 04:09:42PM +0100, Bastian Blank wrote: On Fri, Nov 16, 2007 at 03:29:45PM +0100, Martin Schwidefsky wrote: #else static inline void acpi_early_init(void) { } #endif +#ifdef CONFIG_S390 +extern int sclp_init(void); +#else +static inline int sclp_init(void)

[patch 3/6] sclp: call sclp_init() from start_kernel().

2007-11-16 Thread Martin Schwidefsky
From: Heiko Carstens [EMAIL PROTECTED] This is needed since the sclp must be initialized before cpus are brought online and after interrupts are enabled. The sclp interface is used figure out which cpus are present and can be brought online. Adding an sclp_init() call to __cpu_up() is not a valid

Re: [patch 3/6] sclp: call sclp_init() from start_kernel().

2007-11-16 Thread Bastian Blank
On Fri, Nov 16, 2007 at 03:29:45PM +0100, Martin Schwidefsky wrote: #else static inline void acpi_early_init(void) { } #endif +#ifdef CONFIG_S390 +extern int sclp_init(void); +#else +static inline int sclp_init(void) {return 0;} +#endif #ifndef CONFIG_DEBUG_RODATA static inline void