lkml.org 
[lkml]   [2017]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] MIPS: Fix minimum alignment requirement of IRQ stack
Hi Matt,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.12 next-20170707]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Matt-Redfearn/MIPS-Fix-minimum-alignment-requirement-of-IRQ-stack/20170709-054925
config: mips-jz4740 (attached as .config)
compiler: mips-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=mips

All errors (new ones prefixed by >>):

In file included from arch/mips/include/asm/irq.h:12:0,
from include/linux/irq.h:27,
from arch/mips/sgi-ip22/ip22-time.c:15:
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:18:15: note: in expansion of macro 'LONG'
typedef long LONG __attribute__ ((__mode__ (__SI__)));
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:27:9: note: in expansion of macro 'LONG'
typedef LONG _PCHAR;
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:28:9: note: in expansion of macro 'LONG'
typedef LONG _PSHORT;
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:29:9: note: in expansion of macro 'LONG'
typedef LONG _PLARGE_INTEGER;
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:30:9: note: in expansion of macro 'LONG'
typedef LONG _PLONG;
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:31:9: note: in expansion of macro 'LONG'
typedef LONG _PUCHAR;
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:32:9: note: in expansion of macro 'LONG'
typedef LONG _PUSHORT;
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:33:9: note: in expansion of macro 'LONG'
typedef LONG _PULONG;
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:34:9: note: in expansion of macro 'LONG'
typedef LONG _PVOID;
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:65:9: note: in expansion of macro 'LONG'
typedef LONG *PLONG;
^~~~
In file included from arch/mips/include/asm/sgialib.h:15:0,
from arch/mips/sgi-ip22/ip22-time.c:27:
>> arch/mips/include/asm/sgiarcs.h:89:2: error: unknown type name '_PULONG'
_PULONG iname; /* string identifier */
^~~~~~~
In file included from arch/mips/include/asm/irq.h:12:0,
from include/linux/irq.h:27,
from arch/mips/sgi-ip22/ip22-time.c:15:
arch/mips/include/asm/asm.h:318:15: error: expected specifier-qualifier-list before '.' token
#define LONG .word
^
arch/mips/include/asm/sgiarcs.h:188:2: note: in expansion of macro 'LONG'
LONG load; /* Load an executable image. */
^~~~
In file included from arch/mips/include/asm/sgialib.h:15:0,
from arch/mips/sgi-ip22/ip22-time.c:27:
>> arch/mips/include/asm/sgiarcs.h:252:2: error: unknown type name '_PLONG'
_PLONG rs_block; /* Restart block. */
^~~~~~
arch/mips/include/asm/sgiarcs.h:253:2: error: unknown type name '_PLONG'
_PLONG dbg_block; /* Debug block. */
^~~~~~
arch/mips/include/asm/sgiarcs.h:254:2: error: unknown type name '_PLONG'
_PLONG gevect; /* XXX General vector??? */
^~~~~~
arch/mips/include/asm/sgiarcs.h:255:2: error: unknown type name '_PLONG'
_PLONG utlbvect; /* XXX UTLB vector??? */
^~~~~~
>> arch/mips/include/asm/sgiarcs.h:257:2: error: unknown type name '_PVOID'
_PVOID romvec; /* Function interface. */
^~~~~~
arch/mips/include/asm/sgiarcs.h:259:2: error: unknown type name '_PVOID'
_PVOID pvector; /* Private vector. */
^~~~~~
arch/mips/include/asm/sgiarcs.h:263:2: error: unknown type name '_PVOID'
_PVOID adap_vector; /* Adapter 0 vector ptr. */
^~~~~~
arch/mips/include/asm/sgiarcs.h:266:2: error: unknown type name '_PVOID'
_PVOID adap_vector1; /* Adapter 1 vector ptr. */
^~~~~~
In file included from arch/mips/include/asm/irq.h:12:0,
from include/linux/irq.h:27,
from arch/mips/sgi-ip22/ip22-time.c:15:
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/sgialib.h:20:8: note: in expansion of macro 'LONG'
extern LONG *_prom_argv, *_prom_envp;
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/sgialib.h:64:8: note: in expansion of macro 'LONG'
extern LONG ArcSetEnvironmentVariable(PCHAR name, PCHAR value);
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/sgialib.h:70:8: note: in expansion of macro 'LONG'
extern LONG ArcRead(ULONG fd, PVOID buf, ULONG num, PULONG cnt);
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/sgialib.h:71:8: note: in expansion of macro 'LONG'
extern LONG ArcWrite(ULONG fd, PVOID buf, ULONG num, PULONG cnt);
^~~~
arch/mips/sgi-ip22/ip22-time.c: In function 'indy_8254timer_irq':
>> arch/mips/sgi-ip22/ip22-time.c:128:2: error: implicit declaration of function 'ArcRead' [-Werror=implicit-function-declaration]
ArcRead(0, &c, 1, &cnt);
^~~~~~~
cc1: all warnings being treated as errors
--
In file included from arch/mips/include/asm/irq.h:12:0,
from include/linux/irq.h:27,
from include/asm-generic/hardirq.h:12,
from arch/mips/include/asm/hardirq.h:16,
from include/linux/hardirq.h:8,
from include/linux/interrupt.h:12,
from arch/mips/sgi-ip22/ip22-reset.c:11:
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:18:15: note: in expansion of macro 'LONG'
typedef long LONG __attribute__ ((__mode__ (__SI__)));
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:27:9: note: in expansion of macro 'LONG'
typedef LONG _PCHAR;
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:28:9: note: in expansion of macro 'LONG'
typedef LONG _PSHORT;
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:29:9: note: in expansion of macro 'LONG'
typedef LONG _PLARGE_INTEGER;
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:30:9: note: in expansion of macro 'LONG'
typedef LONG _PLONG;
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:31:9: note: in expansion of macro 'LONG'
typedef LONG _PUCHAR;
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:32:9: note: in expansion of macro 'LONG'
typedef LONG _PUSHORT;
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:33:9: note: in expansion of macro 'LONG'
typedef LONG _PULONG;
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:34:9: note: in expansion of macro 'LONG'
typedef LONG _PVOID;
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:65:9: note: in expansion of macro 'LONG'
typedef LONG *PLONG;
^~~~
In file included from arch/mips/include/asm/sgialib.h:15:0,
from arch/mips/sgi-ip22/ip22-reset.c:21:
>> arch/mips/include/asm/sgiarcs.h:89:2: error: unknown type name '_PULONG'
_PULONG iname; /* string identifier */
^~~~~~~
In file included from arch/mips/include/asm/irq.h:12:0,
from include/linux/irq.h:27,
from include/asm-generic/hardirq.h:12,
from arch/mips/include/asm/hardirq.h:16,
from include/linux/hardirq.h:8,
from include/linux/interrupt.h:12,
from arch/mips/sgi-ip22/ip22-reset.c:11:
arch/mips/include/asm/asm.h:318:15: error: expected specifier-qualifier-list before '.' token
#define LONG .word
^
arch/mips/include/asm/sgiarcs.h:188:2: note: in expansion of macro 'LONG'
LONG load; /* Load an executable image. */
^~~~
In file included from arch/mips/include/asm/sgialib.h:15:0,
from arch/mips/sgi-ip22/ip22-reset.c:21:
>> arch/mips/include/asm/sgiarcs.h:252:2: error: unknown type name '_PLONG'
_PLONG rs_block; /* Restart block. */
^~~~~~
arch/mips/include/asm/sgiarcs.h:253:2: error: unknown type name '_PLONG'
_PLONG dbg_block; /* Debug block. */
^~~~~~
arch/mips/include/asm/sgiarcs.h:254:2: error: unknown type name '_PLONG'
_PLONG gevect; /* XXX General vector??? */
^~~~~~
arch/mips/include/asm/sgiarcs.h:255:2: error: unknown type name '_PLONG'
_PLONG utlbvect; /* XXX UTLB vector??? */
^~~~~~
>> arch/mips/include/asm/sgiarcs.h:257:2: error: unknown type name '_PVOID'
_PVOID romvec; /* Function interface. */
^~~~~~
arch/mips/include/asm/sgiarcs.h:259:2: error: unknown type name '_PVOID'
_PVOID pvector; /* Private vector. */
^~~~~~
arch/mips/include/asm/sgiarcs.h:263:2: error: unknown type name '_PVOID'
_PVOID adap_vector; /* Adapter 0 vector ptr. */
^~~~~~
arch/mips/include/asm/sgiarcs.h:266:2: error: unknown type name '_PVOID'
_PVOID adap_vector1; /* Adapter 1 vector ptr. */
^~~~~~
In file included from arch/mips/include/asm/irq.h:12:0,
from include/linux/irq.h:27,
from include/asm-generic/hardirq.h:12,
from arch/mips/include/asm/hardirq.h:16,
from include/linux/hardirq.h:8,
from include/linux/interrupt.h:12,
from arch/mips/sgi-ip22/ip22-reset.c:11:
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/sgialib.h:20:8: note: in expansion of macro 'LONG'
extern LONG *_prom_argv, *_prom_envp;
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/sgialib.h:64:8: note: in expansion of macro 'LONG'
extern LONG ArcSetEnvironmentVariable(PCHAR name, PCHAR value);
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/sgialib.h:70:8: note: in expansion of macro 'LONG'
extern LONG ArcRead(ULONG fd, PVOID buf, ULONG num, PULONG cnt);
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/sgialib.h:71:8: note: in expansion of macro 'LONG'
extern LONG ArcWrite(ULONG fd, PVOID buf, ULONG num, PULONG cnt);
^~~~
--
In file included from arch/mips/include/asm/irq.h:12:0,
from include/linux/irq.h:27,
from arch/mips//sgi-ip22/ip22-time.c:15:
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:18:15: note: in expansion of macro 'LONG'
typedef long LONG __attribute__ ((__mode__ (__SI__)));
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:27:9: note: in expansion of macro 'LONG'
typedef LONG _PCHAR;
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:28:9: note: in expansion of macro 'LONG'
typedef LONG _PSHORT;
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:29:9: note: in expansion of macro 'LONG'
typedef LONG _PLARGE_INTEGER;
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:30:9: note: in expansion of macro 'LONG'
typedef LONG _PLONG;
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:31:9: note: in expansion of macro 'LONG'
typedef LONG _PUCHAR;
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:32:9: note: in expansion of macro 'LONG'
typedef LONG _PUSHORT;
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:33:9: note: in expansion of macro 'LONG'
typedef LONG _PULONG;
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:34:9: note: in expansion of macro 'LONG'
typedef LONG _PVOID;
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/fw/arc/types.h:65:9: note: in expansion of macro 'LONG'
typedef LONG *PLONG;
^~~~
In file included from arch/mips/include/asm/sgialib.h:15:0,
from arch/mips//sgi-ip22/ip22-time.c:27:
>> arch/mips/include/asm/sgiarcs.h:89:2: error: unknown type name '_PULONG'
_PULONG iname; /* string identifier */
^~~~~~~
In file included from arch/mips/include/asm/irq.h:12:0,
from include/linux/irq.h:27,
from arch/mips//sgi-ip22/ip22-time.c:15:
arch/mips/include/asm/asm.h:318:15: error: expected specifier-qualifier-list before '.' token
#define LONG .word
^
arch/mips/include/asm/sgiarcs.h:188:2: note: in expansion of macro 'LONG'
LONG load; /* Load an executable image. */
^~~~
In file included from arch/mips/include/asm/sgialib.h:15:0,
from arch/mips//sgi-ip22/ip22-time.c:27:
>> arch/mips/include/asm/sgiarcs.h:252:2: error: unknown type name '_PLONG'
_PLONG rs_block; /* Restart block. */
^~~~~~
arch/mips/include/asm/sgiarcs.h:253:2: error: unknown type name '_PLONG'
_PLONG dbg_block; /* Debug block. */
^~~~~~
arch/mips/include/asm/sgiarcs.h:254:2: error: unknown type name '_PLONG'
_PLONG gevect; /* XXX General vector??? */
^~~~~~
arch/mips/include/asm/sgiarcs.h:255:2: error: unknown type name '_PLONG'
_PLONG utlbvect; /* XXX UTLB vector??? */
^~~~~~
>> arch/mips/include/asm/sgiarcs.h:257:2: error: unknown type name '_PVOID'
_PVOID romvec; /* Function interface. */
^~~~~~
arch/mips/include/asm/sgiarcs.h:259:2: error: unknown type name '_PVOID'
_PVOID pvector; /* Private vector. */
^~~~~~
arch/mips/include/asm/sgiarcs.h:263:2: error: unknown type name '_PVOID'
_PVOID adap_vector; /* Adapter 0 vector ptr. */
^~~~~~
arch/mips/include/asm/sgiarcs.h:266:2: error: unknown type name '_PVOID'
_PVOID adap_vector1; /* Adapter 1 vector ptr. */
^~~~~~
In file included from arch/mips/include/asm/irq.h:12:0,
from include/linux/irq.h:27,
from arch/mips//sgi-ip22/ip22-time.c:15:
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/sgialib.h:20:8: note: in expansion of macro 'LONG'
extern LONG *_prom_argv, *_prom_envp;
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/sgialib.h:64:8: note: in expansion of macro 'LONG'
extern LONG ArcSetEnvironmentVariable(PCHAR name, PCHAR value);
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/sgialib.h:70:8: note: in expansion of macro 'LONG'
extern LONG ArcRead(ULONG fd, PVOID buf, ULONG num, PULONG cnt);
^~~~
arch/mips/include/asm/asm.h:318:15: error: expected identifier or '(' before '.' token
#define LONG .word
^
arch/mips/include/asm/sgialib.h:71:8: note: in expansion of macro 'LONG'
extern LONG ArcWrite(ULONG fd, PVOID buf, ULONG num, PULONG cnt);
^~~~
arch/mips//sgi-ip22/ip22-time.c: In function 'indy_8254timer_irq':
arch/mips//sgi-ip22/ip22-time.c:128:2: error: implicit declaration of function 'ArcRead' [-Werror=implicit-function-declaration]
ArcRead(0, &c, 1, &cnt);
^~~~~~~
cc1: all warnings being treated as errors

vim +/_PULONG +89 arch/mips/include/asm/sgiarcs.h

^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 83 USHORT vers; /* node version */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 84 USHORT rev; /* node revision */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 85 ULONG key; /* completely magic */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 86 ULONG amask; /* XXX affinity mask??? */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 87 ULONG cdsize; /* size of configuration data */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 88 ULONG ilen; /* length of string identifier */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 @89 _PULONG iname; /* string identifier */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 90 };
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 91 typedef struct linux_component pcomponent;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 92
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 93 struct linux_sysid {
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 94 char vend[8], prod[8];
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 95 };
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 96
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 97 /* ARCS prom memory descriptors. */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 98 enum arcs_memtypes {
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 99 arcs_eblock, /* exception block */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 100 arcs_rvpage, /* ARCS romvec page */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 101 arcs_fcontig, /* Contiguous and free */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 102 arcs_free, /* Generic free memory */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 103 arcs_bmem, /* Borken memory, don't use */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 104 arcs_prog, /* A loaded program resides here */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 105 arcs_atmp, /* ARCS temporary storage area, wish Sparc OpenBoot told this */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 106 arcs_aperm, /* ARCS permanent storage... */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 107 };
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 108
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 109 /* ARC has slightly different types than ARCS */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 110 enum arc_memtypes {
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 111 arc_eblock, /* exception block */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 112 arc_rvpage, /* romvec page */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 113 arc_free, /* Generic free memory */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 114 arc_bmem, /* Borken memory, don't use */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 115 arc_prog, /* A loaded program resides here */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 116 arc_atmp, /* temporary storage area */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 117 arc_aperm, /* permanent storage */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 118 arc_fcontig, /* Contiguous and free */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 119 };
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 120
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 121 union linux_memtypes {
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 122 enum arcs_memtypes arcs;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 123 enum arc_memtypes arc;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 124 };
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 125
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 126 struct linux_mdesc {
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 127 union linux_memtypes type;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 128 ULONG base;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 129 ULONG pages;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 130 };
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 131
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 132 /* Time of day descriptor. */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 133 struct linux_tinfo {
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 134 unsigned short yr;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 135 unsigned short mnth;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 136 unsigned short day;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 137 unsigned short hr;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 138 unsigned short min;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 139 unsigned short sec;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 140 unsigned short msec;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 141 };
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 142
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 143 /* ARCS virtual dirents. */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 144 struct linux_vdirent {
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 145 ULONG namelen;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 146 unsigned char attr;
92a76f6d arch/mips/include/asm/sgiarcs.h Adam Buchbinder 2016-02-25 147 char fname[32]; /* XXX empirical, should be a define */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 148 };
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 149
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 150 /* Other stuff for files. */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 151 enum linux_omode {
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 152 rdonly, wronly, rdwr, wronly_creat, rdwr_creat,
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 153 wronly_ssede, rdwr_ssede, dirent, dirent_creat
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 154 };
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 155
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 156 enum linux_seekmode {
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 157 absolute, relative
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 158 };
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 159
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 160 enum linux_mountops {
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 161 media_load, media_unload
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 162 };
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 163
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 164 /* This prom has a bolixed design. */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 165 struct linux_bigint {
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 166 #ifdef __MIPSEL__
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 167 u32 lo;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 168 s32 hi;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 169 #else /* !(__MIPSEL__) */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 170 s32 hi;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 171 u32 lo;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 172 #endif
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 173 };
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 174
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 175 struct linux_finfo {
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 176 struct linux_bigint begin;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 177 struct linux_bigint end;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 178 struct linux_bigint cur;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 179 enum linux_devtypes dtype;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 180 unsigned long namelen;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 181 unsigned char attr;
92a76f6d arch/mips/include/asm/sgiarcs.h Adam Buchbinder 2016-02-25 182 char name[32]; /* XXX empirical, should be define */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 183 };
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 184
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 185 /* This describes the vector containing function pointers to the ARC
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 186 firmware functions. */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 187 struct linux_romvec {
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 @188 LONG load; /* Load an executable image. */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 189 LONG invoke; /* Invoke a standalong image. */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 190 LONG exec; /* Load and begin execution of a
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 191 standalone image. */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 192 LONG halt; /* Halt the machine. */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 193 LONG pdown; /* Power down the machine. */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 194 LONG restart; /* XXX soft reset??? */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 195 LONG reboot; /* Reboot the machine. */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 196 LONG imode; /* Enter PROM interactive mode. */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 197 LONG _unused1; /* Was ReturnFromMain(). */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 198
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 199 /* PROM device tree interface. */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 200 LONG next_component;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 201 LONG child_component;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 202 LONG parent_component;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 203 LONG component_data;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 204 LONG child_add;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 205 LONG comp_del;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 206 LONG component_by_path;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 207
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 208 /* Misc. stuff. */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 209 LONG cfg_save;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 210 LONG get_sysid;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 211
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 212 /* Probing for memory. */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 213 LONG get_mdesc;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 214 LONG _unused2; /* was Signal() */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 215
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 216 LONG get_tinfo;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 217 LONG get_rtime;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 218
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 219 /* File type operations. */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 220 LONG get_vdirent;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 221 LONG open;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 222 LONG close;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 223 LONG read;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 224 LONG get_rstatus;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 225 LONG write;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 226 LONG seek;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 227 LONG mount;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 228
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 229 /* Dealing with firmware environment variables. */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 230 LONG get_evar;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 231 LONG set_evar;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 232
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 233 LONG get_finfo;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 234 LONG set_finfo;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 235
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 236 /* Miscellaneous. */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 237 LONG cache_flush;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 238 LONG TestUnicodeCharacter; /* ARC; not sure if ARCS too */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 239 LONG GetDisplayStatus;
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 240 };
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 241
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 242 /* The SGI ARCS parameter block is in a fixed location for standalone
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 243 * programs to access PROM facilities easily.
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 244 */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 245 typedef struct _SYSTEM_PARAMETER_BLOCK {
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 246 ULONG magic; /* magic cookie */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 247 #define PROMBLOCK_MAGIC 0x53435241
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 248
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 249 ULONG len; /* length of parm block */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 250 USHORT ver; /* ARCS firmware version */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 251 USHORT rev; /* ARCS firmware revision */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 @252 _PLONG rs_block; /* Restart block. */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 @253 _PLONG dbg_block; /* Debug block. */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 254 _PLONG gevect; /* XXX General vector??? */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 255 _PLONG utlbvect; /* XXX UTLB vector??? */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 256 ULONG rveclen; /* Size of romvec struct. */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 @257 _PVOID romvec; /* Function interface. */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 258 ULONG pveclen; /* Length of private vector. */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 259 _PVOID pvector; /* Private vector. */
^1da177e include/asm-mips/sgiarcs.h Linus Torvalds 2005-04-16 260 ULONG adap_cnt; /* Adapter count. */

:::::: The code at line 89 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2017-07-09 02:09    [W:0.060 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site