1 switch (aarch64_io.iov_len) {
2 	case sizeof(aarch64_regs):
3 		/* We are in 64-bit mode */
4 		scno = aarch64_regs.regs[8];
5 		update_personality(tcp, 1);
6 		break;
7 	case sizeof(arm_regs):
8 		/* We are in 32-bit mode */
9 		/* Note: we don't support OABI, unlike 32-bit ARM build */
10 		scno = arm_regs.ARM_r7;
11 		scno = shuffle_scno(scno);
12 		update_personality(tcp, 0);
13 		break;
14 }
15