xref: /kernel/linux/linux-6.6/arch/m68k/include/asm/flat.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/arch/m68k/include/asm/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * flat.h -- uClinux flat-format executables
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#ifndef __M68KNOMMU_FLAT_H__
762306a36Sopenharmony_ci#define __M68KNOMMU_FLAT_H__
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci#include <asm-generic/flat.h>
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci#define FLAT_PLAT_INIT(regs) \
1262306a36Sopenharmony_ci	do { \
1362306a36Sopenharmony_ci		if (current->mm) \
1462306a36Sopenharmony_ci			(regs)->d5 = current->mm->start_data; \
1562306a36Sopenharmony_ci	} while (0)
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ci#endif /* __M68KNOMMU_FLAT_H__ */
18

Indexes created Thu Nov 07 10:32:03 CST 2024