The sdt_instr_t type was introduced as a generic type name for machine
instructions to be defined as a synonym for the arch-specific type.
It was named thusly because it was only used by the SDT support code.
However, other providers will need it also (e.g. FBT) and therefore it
is more appropriate to give it a name that is not tied to a specific
provider.
Orabug:
21220305
Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
Acked-by: Allen Pais <allen.pais@oracle.com>
#include <linux/ctype.h>
#include <linux/mm.h>
+#include <asm/dtrace_arch.h>
#include <asm/processor.h>
#include <asm/spitfire.h>
#include <asm/cacheflush.h>
#ifdef CONFIG_DTRACE
me->pdata = module_alloc(me->sdt_probec * SDT_TRAMP_SIZE *
- sizeof(sdt_instr_t));
+ sizeof(asm_instr_t));
#endif
return 0;
#ifdef CONFIG_DTRACE
void module_arch_cleanup(struct module *me)
{
- module_free(me->pdata);
+ module_memfree(me->pdata);
}
#endif
#endif /* CONFIG_SPARC64 */