b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | /* | ||||
3 | * flat.h -- uClinux flat-format executables | ||||
4 | */ | ||||
5 | |||||
6 | #ifndef __M68KNOMMU_FLAT_H__ | ||||
7 | #define __M68KNOMMU_FLAT_H__ | ||||
8 | |||||
9 | #include <asm-generic/flat.h> | ||||
10 | |||||
11 | #define FLAT_PLAT_INIT(regs) \ | ||||
12 | do { \ | ||||
13 | if (current->mm) \ | ||||
14 | (regs)->d5 = current->mm->start_data; \ | ||||
15 | } while (0) | ||||
16 | |||||
17 | #endif /* __M68KNOMMU_FLAT_H__ */ |