Rev 1766 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1766 | Rev 1767 | ||
|---|---|---|---|
| Line 957... | Line 957... | ||
| 957 | if (freed) |
957 | if (freed) |
| 958 | zone = find_free_zone_lock(order, pzone); |
958 | zone = find_free_zone_lock(order, pzone); |
| 959 | } |
959 | } |
| 960 | } |
960 | } |
| 961 | if (!zone) { |
961 | if (!zone) { |
| 962 | if (flags & FRAME_PANIC) |
- | |
| 963 | panic("Can't allocate frame.\n"); |
- | |
| 964 | - | ||
| 965 | /* |
962 | /* |
| 966 | * TODO: Sleep until frames are available again. |
963 | * TODO: Sleep until frames are available again. |
| 967 | */ |
964 | */ |
| 968 | interrupts_restore(ipl); |
965 | interrupts_restore(ipl); |
| 969 | 966 | ||