Commit b8272a36 authored by Anton Blanchard's avatar Anton Blanchard

ppc64: Remove WANT_PAGE_VIRTUAL now the compiler bug is fixed

parent 3985d67e
...@@ -130,13 +130,6 @@ extern void xmon(struct pt_regs *excp); ...@@ -130,13 +130,6 @@ extern void xmon(struct pt_regs *excp);
#define PAGE_BUG(page) do { BUG(); } while (0) #define PAGE_BUG(page) do { BUG(); } while (0)
/*
* XXX A bug in the current ppc64 compiler prevents an optimisation
* where a divide is replaced by a multiply by shifted inverse. For
* the moment use page->virtaul
*/
#define WANT_PAGE_VIRTUAL 1
/* Pure 2^n version of get_order */ /* Pure 2^n version of get_order */
extern __inline__ int get_order(unsigned long size) extern __inline__ int get_order(unsigned long size)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment