mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2026-01-08 18:24:39 +00:00
In preparation for introducing a more complicated instruction type to accommodate prefixed instructions use an accessor for getting an instruction as a u32. Signed-off-by: Jordan Niethe <jniethe5@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200506034050.24806-8-jniethe5@gmail.com
17 lines
260 B
C
17 lines
260 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
#ifndef _ASM_POWERPC_INST_H
|
|
#define _ASM_POWERPC_INST_H
|
|
|
|
/*
|
|
* Instruction data type for POWER
|
|
*/
|
|
|
|
#define ppc_inst(x) (x)
|
|
|
|
static inline u32 ppc_inst_val(u32 x)
|
|
{
|
|
return x;
|
|
}
|
|
|
|
#endif /* _ASM_POWERPC_INST_H */
|