flat.h 333 B

1234567891011121314151617
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * flat.h -- uClinux flat-format executables
  4. */
  5. #ifndef __M68KNOMMU_FLAT_H__
  6. #define __M68KNOMMU_FLAT_H__
  7. #include <asm-generic/flat.h>
  8. #define FLAT_PLAT_INIT(regs) \
  9. do { \
  10. if (current->mm) \
  11. (regs)->d5 = current->mm->start_data; \
  12. } while (0)
  13. #endif /* __M68KNOMMU_FLAT_H__ */