So I just found out that the Raspberry Pi 2 came out, and I'm wondering whether stuff like this would work on it without any modifications (except for recompiling it for ARMv7 of course). This piece of code accesses the Pi's GPIO pins directly, through writing to bcm2835-specific register addresses.
I have read what they say on the website about the new Pi, which is that the chip is the same as the old one, except for the faster processor. But this description is very brief, and leaves me wondering whether low-level and very hardware-specific code that was written for the old Pi would work on the new one.