diff options
| author | Bernard Xiong <[email protected]> | 2021-03-31 13:52:30 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-03-31 13:52:30 +0800 |
| commit | 3f64efd2a3c8265f1e5ddcea83e2dededf8eea8b (patch) | |
| tree | ad064f1ab426c4a46dec87fa807993ce07d42e9b /libcpu/mips/common/exception.c | |
| parent | ac41503a4ab45ca3a647912e5b36fff7301c1399 (diff) | |
| parent | 6c907c3a477b1f34ca1adb277748c3306110cabf (diff) | |
Merge pull request #4534 from mysterywolf/libcpu
[libcpu] auto formatted
Diffstat (limited to 'libcpu/mips/common/exception.c')
| -rw-r--r-- | libcpu/mips/common/exception.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpu/mips/common/exception.c b/libcpu/mips/common/exception.c index 3da8ecead6..9c9858f5e1 100644 --- a/libcpu/mips/common/exception.c +++ b/libcpu/mips/common/exception.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2006-2019, RT-Thread Development Team + * Copyright (c) 2006-2021, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * @@ -164,7 +164,7 @@ void rt_general_exc_dispatch(struct pt_regs *regs) { rt_ubase_t cause, exccode; cause = read_c0_cause(); - exccode = (cause & CAUSEF_EXCCODE) >> CAUSEB_EXCCODE; + exccode = (cause & CAUSEF_EXCCODE) >> CAUSEB_EXCCODE; if (exccode == 0) { |
