s390/uaccess: fix compile error
authorHeiko Carstens <hca@linux.ibm.com>
Sat, 22 Jan 2022 09:24:31 +0000 (10:24 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Sun, 23 Jan 2022 09:20:03 +0000 (10:20 +0100)
commit3d787b392d169d4a2e3aee6ac6dfd6ec39722cf2
treea3505a6d046a5805612981aea4a918522d78a333
parentf094a39c6ba168f2df1edfd1731cca377af5f442
s390/uaccess: fix compile error

Compiling with e.g MARCH=z900 results in compile errors:

   arch/s390/lib/uaccess.c: In function 'copy_from_user_mvcos':
>> arch/s390/lib/uaccess.c:65:15: error: variable 'spec' has initializer but incomplete type
      65 |         union oac spec = {

Therefore make definition of union oac visible for all MARCHs.

Reported-by: kernel test robot <lkp@intel.com>
Cc: Nico Boehr <nrb@linux.ibm.com>
Cc: Janis Schoetterl-Glausch <scgl@linux.ibm.com>
Fixes: 012a224e1fa3 ("s390/uaccess: introduce bit field for OAC specifier")
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/uaccess.h