From 63f4fc33ba8236838c6f75723e4bf0a002c5d781 Mon Sep 17 00:00:00 2001 From: Dou Liyang Date: Tue, 10 Jan 2017 14:00:09 +0800 Subject: [PATCH] Update interrupts-8.md fix some topys --- Interrupts/interrupts-8.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Interrupts/interrupts-8.md b/Interrupts/interrupts-8.md index 540a0f1..01dc8f7 100644 --- a/Interrupts/interrupts-8.md +++ b/Interrupts/interrupts-8.md @@ -241,7 +241,7 @@ do { \ } while (0) ``` -As we can see, first of all it expands to the call of the `alloc_system_vector` function that checks the given vector number in the `user_vectors` bitmap (read previous [part](http://0xax.gitbooks.io/linux-insides/content/Interrupts/interrupts-7.html) about it) and if it is not set in the `user_vectors` bitmap we set it. After this we test that the `first_system_vector` is greater than given interrupt vector number and if it is greater we assign it: +As we can see, first of all it expands to the call of the `alloc_system_vector` function that checks the given vector number in the `used_vectors` bitmap (read previous [part](http://0xax.gitbooks.io/linux-insides/content/Interrupts/interrupts-7.html) about it) and if it is not set in the `used_vectors` bitmap we set it. After this we test that the `first_system_vector` is greater than given interrupt vector number and if it is greater we assign it: ```C if (!test_bit(vector, used_vectors)) {