Hi,
In file include/asm-i386/system.h, _set_base and _set_limit use an
useless do ... while(0)
Why is this needed ?
exemple with _set_base from linux-2.6.23
#define _set_base(addr,base) do { unsigned long __pr; \
__asm__ __volatile__ ("movw %%dx,%1\n\t" \
"rorl $16,%%edx\n\t" \
"movb %%dl,%2\n\t" \
"movb %%dh,%3" \
:"=&d" (__pr) \
:"m" (*((addr)+2)), \
"m" (*((addr)+4)), \
"m" (*((addr)+7)), \
"0" (base) \
); } while(0)
--
Abdel
http://draconux.free.fr/
--
| Linus Torvalds | Linux 2.6.27-rc8 |
| Jeff Chua | 2.6.27rc1 cannot boot more than 8CPUs |
| Yinghai Lu | Re: [GIT *] Allow request_firmware() to be satisfied from in-kernel, use it in mor... |
| Russell King | Re: (hacky) [PATCH] silence MODPOST section mismatch warnings |
git: | |
| Steffen Prohaska | merge vs rebase: Is visualization in gitk the only problem? |
| Shawn O. Pearce | Re: clarify git clone --local --shared --reference |
| Wink Saville | Resolving conflicts |
| Linus Torvalds | People unaware of the importance of "git gc"? |
| Richard Stallman | Real men don't attack straw men |
| Kevin Neff | Patching a SSH 'Weakness' |
| Mayuresh Kathe | Re: What is our ultimate goal?? |
| Jonathan Thornburg | strlcat/strlcpy vs overlapping arguments |
| Stefan Richter | Re: [GIT]: Networking |
| adobriyan | [PATCH 10/38] netns ct: per-netns expectations |
| "G" | Implementing RSTP and MSTP in Linux Kernel |
| Arnaldo Carvalho de Melo | Re: [PATCH 2/6] Phonet: connected sockets glue |
