mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
c545b9f040
In order to stop using 'struct ppc_inst' on PPC32, define a ppc_inst_t typedef. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/fe5baa2c66fea9db05a8b300b3e8d2880a42596c.1638208156.git.christophe.leroy@csgroup.eu
15 lines
336 B
C
15 lines
336 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef XMON_BPTS_H
|
|
#define XMON_BPTS_H
|
|
|
|
#define NBPTS 256
|
|
#ifndef __ASSEMBLY__
|
|
#include <asm/inst.h>
|
|
#define BPT_SIZE (sizeof(ppc_inst_t) * 2)
|
|
#define BPT_WORDS (BPT_SIZE / sizeof(ppc_inst_t))
|
|
|
|
extern unsigned int bpt_table[NBPTS * BPT_WORDS];
|
|
#endif /* __ASSEMBLY__ */
|
|
|
|
#endif /* XMON_BPTS_H */
|