Hi,

it seems that there are some #ifdef's missing... :(

You could try to
(1) enclose switch_off_chpids() and s390_send_nop() with #ifdef CONFIG_CHSC
and #endif, or
(2) compile the kernel with CONFIG_CHSC=y, which is a good idea anyway (it
gives you handling of some additional machine checks and the ability to set
chpids logically offline).

Mit freundlichen Gr��en/Regards
Cornelia Huck

Linux for zSeries Development
IBM Deutschland Entwicklung GmbH
Email: [EMAIL PROTECTED]
Phone: ext. +49(0)7031/16-4837, int. *120-4837


|---------+---------------------------->
|         |           Monteleone       |
|         |           <gmonteleone@site|
|         |           c.fr>            |
|         |           Sent by: Linux on|
|         |           390 Port         |
|         |           <[EMAIL PROTECTED]|
|         |           IST.EDU>         |
|         |                            |
|         |                            |
|         |           01/14/03 05:34 PM|
|         |           Please respond to|
|         |           Linux on 390 Port|
|         |                            |
|---------+---------------------------->
  
>---------------------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                                         |
  |       To:       [EMAIL PROTECTED]                                            
                                                         |
  |       cc:                                                                          
                                                         |
  |       Subject:  s390io.c s390_send_nop                                             
                                                         |
  |                                                                                    
                                                         |
  |                                                                                    
                                                         |
  
>---------------------------------------------------------------------------------------------------------------------------------------------|



Hello,



Has someone already solved this problem ?



Is there a patch ?



I'm using kernel 2.4.19 May Stream 2002.



make[2]: Entering directory `/usr/src/linux-2.4.19/drivers/s390'

s390-ibm-linux-gcc -D__KERNEL__ -I/usr/src/linux-2.4.19/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -fno-strength-reduce   -nostdinc -I
/usr/local/lib/gcc-lib/s390-ibm-linux/3.2/include
-DKBUILD_BASENAME=s390io  -DEXPORT_SYMTAB -c s390io.c

s390io.c: In function `switch_off_chpids':

s390io.c:832: `chpids' undeclared (first use in this function)

s390io.c:832: (Each undeclared identifier is reported only once

s390io.c:832: for each function it appears in.)

s390io.c:2927:57: warning: multi-line string literals are deprecated

s390io.c: At top level:

s390io.c:843: warning: `s390_send_nop' defined but not used

make[2]: *** [s390io.o] Error 1

make[2]: Leaving directory `/usr/src/linux-2.4.19/drivers/s390'

make[1]: *** [first_rule] Error 2

make[1]: Leaving directory `/usr/src/linux-2.4.19/drivers/s390'

make: *** [_dir_drivers/s390] Error 2



Thanks in advance for your responses.



     Gerard MONTELEONE

     Ingenieur Systeme & Reseau

* 04.95.23.68.09 / 06.87.72.70.32

      S.I.TE.C zi du Vazzio

     20090 AJACCIO Cedex

         [EMAIL PROTECTED]


Reply via email to